Really cool. I have some scraping projects I'd like to do in Go, so this is a great starting point.
Show HN: BBC Good Food Scraper in Go
11–20 of 26 posts
Re: Show HN: BBC Good Food Scraper in Go
#12It seems with all these website scrapers, we have forgotten about the Internet Archive. http://archive.org/web/
Re: Show HN: BBC Good Food Scraper in Go
#13It seems with all these website scrapers, we have forgotten about the Internet Archive. http://archive.org/web/
Re: Show HN: BBC Good Food Scraper in Go
#14Re: Show HN: BBC Good Food Scraper in Go
#15e.g. http://healthyeating.sfgate.com/difference-between-salt-sodi...
edit: oh actually the BBC website has it labeled as "Salt", but the HTML ID is "sodiumContent". Weird. Worth a comment then :P
Re: Show HN: BBC Good Food Scraper in Go
#16Be careful on your conversion from Sodium -> salt (salt is 40% Sodium) e.g. http://healthyeating.sfgate.com/difference-between-salt-sodi... edit: oh actually the BBC website has it labeled as "Salt", but the HTML ID is "sodiumContent". Weird. Worth a comment then :P
Re: Show HN: BBC Good Food Scraper in Go
#17Re: Show HN: BBC Good Food Scraper in Go
#18BBC Good Food is not going anywhere. So you can stop the scraping... It's BBC Food (different name, different website) the one who is going to close (even the recipes will remain online, btw)
Re: Show HN: BBC Good Food Scraper in Go
#19Earlier quoted context omitted.
Agree, used it to build this as a proof of concept: https://emailprofile.herokuapp.com/ Many sites don't consider user enumeration a bug/threat, but theoretically given enough sites, one could build a profile around a specific email address.
Have you open-sources this package somewhere? As an amateur web security researcher this project looks really interesting.
What makes this tool work is most sites (as an UX feature) will tell you if an account/email already exists. Whether that be an API call or a notice saying "Your password is incorrect", you'll be able to get the data you need. It was a learning experience for me to use Go to wrap each site check in its own goroutine to leverage concurrency. Quite nice.
Re: Show HN: BBC Good Food Scraper in Go
#20BBC Good Food is not going anywhere. So you can stop the scraping... It's BBC Food (different name, different website) the one who is going to close (even the recipes will remain online, btw)