Ask YC: Any crawler experts out there?
11–17 of 17 posts
Re: Ask YC: Any crawler experts out there?
#12It doesn't take long once you get going - that is, until you run into sites that are unnavigable piles of javascript and unstructured html.
Re: Ask YC: Any crawler experts out there?
#13use beautiful soup (best python scraping system I know of). Maybe combine it with mechanize for navigating between the pages. Don't try to create your own pattern-matching file. Write a generic crawler class, subclass it for each site. In the end you should just need to write a couple of short site-specific functions for each site. It doesn't take long once you get going - that is, until you run into sites that are u…
Re: Ask YC: Any crawler experts out there?
#14Re: Ask YC: Any crawler experts out there?
#15Re: Ask YC: Any crawler experts out there?
#16One point I would make is that a fast crawler is not always the best for this type of application: crawling at about the speed a user would click on pages is more friendly to a site and less likely to have them take steps to block your access.
Re: Ask YC: Any crawler experts out there?
#17The custom bits you need are then ones that fill the form and then extract the results. For scraping results ruby's Scrubyt is best as you can write templates for each type of page.