Skip to content

Better handling for scraping links, i.e. relative urls and whitespace. #8

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 1 commit into from
Jul 23, 2013

Conversation

josephdpurcell
Copy link
Contributor

I was having a terrible time trying to scrape some websites. I discovered this was due to the fact that the site has TERRIBLE links, i.e. whitespace and relative urls that don't begin with a forward slash.

@ecdeveloper
Copy link
Owner

Good job! I'd just combine the 'incompatible protocol' and 'unknown protocol' statements. Will do that after merging your pull request.

ecdeveloper pushed a commit that referenced this pull request Jul 23, 2013
Better handling for scraping links, i.e. relative urls and whitespace.
@ecdeveloper ecdeveloper merged commit adb8894 into ecdeveloper:master Jul 23, 2013
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.

2 participants