Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Web scraping

Hi guys,

Do you think you'll ever do a Webscraping tutorial?

I have a pretty specific thing I'm looking to do at work to save man hours and will work it out eventually, but just wondered if it was on your horizon.

(To be specific about my own project, part of my role at work is to call property listings on Gumtree.com. I would ideally like to be able to scrape a list of URLs from Gumtree and then cross-reference the phone numbers in that list with a list of phone numbers I don't want to call. I guess it's a question of using a combination of Ruby, MySQL, etc...)

Thanks, A

2 Answers

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

@Andrew We don't have any plans to offer a web scraping tutorial as yet. But for your purpose using Ruby would be the best way to go. Here's a great tutorial: http://ruby.bastardsbook.com/chapters/html-parsing/

Brilliant, thanks very much - I'll let you know how I get on!