Live data from Hacker News

Show HN: BBC Good Food Scraper in Go

github.com

11–20 of 26 posts

Re: Show HN: BBC Good Food Scraper in Go

#13

It seems with all these website scrapers, we have forgotten about the Internet Archive. http://archive.org/web/

As awesome as the Internet Archive's Wayback Machine is, it is still under central control. Worse, as they (reasonably) abide to robots.txt rules, the BBC could easily block access to pages they removed at their end in the archive as well. If you care about something, you need to fully "own" it.

Re: Show HN: BBC Good Food Scraper in Go

#16
post #15

Be 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

Yup, I thought that when I was implementing the nutrition stuff. My guess is that the original implementer went "salt content, well that's really a sodium property"

Re: Show HN: BBC Good Food Scraper in Go

#18
post #17

BBC 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)

"article implied that the bbc good food website would be taken down. This turned out to be false but by the time I realised that I'd already written this, so here you are."

Re: Show HN: BBC Good Food Scraper in Go

#19
post #8
post #3

Earlier 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.

I haven't yet. I'm a bit torn on whether or not to release it given the potential privacy implications. With more sites and a classification algorithm, one could say an email is a "Gender, Race, Age Range, Job Industry, Interests, etc."

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

#20
post #17

BBC 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)

I'm left-liberal British and am therefore expected to support the BBC I guess, but why in heaven this publicly-funded organisation has one recipe site, let alone two, baffles me.
Post reply on HN