Live data from Hacker News

Pattern - Web Mining Python lib

github.com

1–10 of 15 posts

Re: Pattern - Web Mining Python lib

#7

This is awesome! Any plans to add other sites, like amazon, yelp, tripadvisor, etc!

NB: screen-scraping Yelp is against the TOS and you'll get shut down pretty fast if you try it.

Exactly. Screen scrape Google search results instead, I've heard that works great. Bet your business model on it, I've heard. ;-)

Re: Pattern - Web Mining Python lib

#9
post #5

This is awesome! Any plans to add other sites, like amazon, yelp, tripadvisor, etc!

Better yet: Is there a well defined structure for other folks to add that stuff?

I'm not one of the authors, but the code in question is all in one file: https://github.com/clips/pattern/blob/master/pattern/web/__i...

It would be fairly straightforward to add your own class.

Re: Pattern - Web Mining Python lib

#10
Really cool library. I'm excited to take it for a spin! I liked that there was some work done already for Wikipedia. But as a note to people who want to work with Wikipedia data, it's not very hard to abstract your stuff to work with most wikis based on the MediaWiki platform. I've added a pull request to this project that also supports using the hundreds of thousands of wikis on Wikia. ( https://github.com/clips/pattern/pull/17 )
Post reply on HN