Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Allow export to take multiple entrypoints to use when crawling. #756

Closed
wants to merge 1 commit into from

Conversation

pngwn
Copy link
Member

@pngwn pngwn commented Jun 19, 2019

This PR allows you to pass a list of entry points to export, which allows users to fully export apps that are not entirely linked by anchor tags.

I'm not sure if this is the best way to do it but it seems to work, I've added a test that provides a few unlinked entry points in the various styles people might try to pass in. I've done my best to handle unnecessary index.htmls and /s (I'm no regex expert so that might need looking at). I also moved the oninfo call so users get a console message for each entry point, followed by the list of saved files for that 'crawl'.

I added .vscode to the gitignore as I was having trouble disabling my autoformatting with out it. I don't know what has happened with the package-lock.json it just seems to add some stuff when I install it.

Closes #749.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

export routes not reachable by <a> elements
1 participant