-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crawlsite.js crashes on PDFs #10
Comments
Good catch. Do you have the starting page you were running it on? That'll help me debug. |
Yes, my non-profit: https://code.design |
@ebidel any progress on the crash on PDF documents issue... this is a really cool project! |
I found a way around the by making this modification
... basically it checks to make sure the href of the a tag does NOT contain .pdf |
@aamakerlsa Right, it would be something like that. However, not every PDF link contains ".pdf" in the name :) |
Can I work on this issue? |
Sure |
@ebidel Thanks. |
Hi @ebidel, |
Not sure if that would work but you could try. You'd have to read the response body of every request though :( |
When the script reaches a PDF, it crashes.
Example:
The text was updated successfully, but these errors were encountered: