News for hackers. Stuff that matters.

Ask HN: Open source focused crawler?

Is there an open source crawler/library that will recursively follow only links under a certain xpath and ignore the rest?

I don't want to do an exhaustive crawl of every single link, I want something that will only follow links under a main content area.

( 3 comments | 6 points | on HN )
Re:Ask HN: Open source focused crawler? by sheraz on Sunday February 09, 2014 @07:35AM (#7205333)
I highly recommend Scrapy (http://www.scrapy.org).

From their site:

Scrapy is a fast high-level screen scraping and web crawling framework, used to crawl websites and extract structured data from their pages. It can be used for a wide range of purposes, from data mining to monitoring and automated testing.

Re:Ask HN: Open source focused crawler? by techaddict009 on Sunday February 09, 2014 @04:45AM (#7205001)
Check this out : http://commoncrawl.org/

Its not exactly what you are looking for but might help you.

Re:Ask HN: Open source focused crawler? by forkrulassail on Sunday February 09, 2014 @04:23AM (#7204967)
Have you tried BeautifulSoup?