Skip to content

Handle invalid links and empty responds bodies #6

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

Merged
merged 4 commits into from
Jul 20, 2013

Conversation

josephdpurcell
Copy link
Contributor

The code fixes in 147abbc were required for me to crawl sites that have invalid links or links to URLs with empty response bodies without killing node. The solution I implemented was to ignore the links that are invalid and links that have empty response bodies. I don't know if that is the best behavior, but first and foremost I think it is important that the code work out of the box.

In addition, this upgrades jQuery to v1.9 and Bootstrap to the latest, v2.3.2. (Not sure how you feel about upgrading those, if you don't think it's a good idea for some reason please let me know.)

@josephdpurcell
Copy link
Contributor Author

Oh, and I almost completely forgot to mention. I am a complete noob when it comes to node.js, so I gladly welcome any critique, comments, or questions about my work, both in this pull request and any pull requests in the future.

@ecdeveloper
Copy link
Owner

Awesome! Thank you, Joseph :) I'd love to see more pull requests from you.

@ecdeveloper ecdeveloper reopened this Jul 20, 2013
ecdeveloper pushed a commit that referenced this pull request Jul 20, 2013
Handle invalid links and empty responds bodies
@ecdeveloper ecdeveloper merged commit ed8f8ac into ecdeveloper:master Jul 20, 2013
@mhhansen
Copy link

Good stuff @josephdpurcell !

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

Successfully merging this pull request may close these issues.

3 participants