Live data from Hacker News

RoboBrowser: Your friendly neighborhood web scraper

github.com

1–10 of 61 posts

Re: RoboBrowser: Your friendly neighborhood web scraper

#4
post #3

I hope scrapers could be in a form of Chrome extensions, it would record my webpage actions as macros, then execute the macros on a remote headless server without downtime with periodic revisits. No need to program or config anything.

I know there's extensions that help already with generating finders for automated e2e testing, you might be able to use something like that.

Re: RoboBrowser: Your friendly neighborhood web scraper

#6
post #3

I hope scrapers could be in a form of Chrome extensions, it would record my webpage actions as macros, then execute the macros on a remote headless server without downtime with periodic revisits. No need to program or config anything.

The Resurrectio Chrome extension allows you to do this with PhantomJS

Re: RoboBrowser: Your friendly neighborhood web scraper

#8
Hmm, I can see why I'd want to use this library over piecing together requests and BS4 myself for every project. I love how simple the examples look.

I have a project I'm working on that will involve scraping many different websites on a daily basis. My only scraping experience so far is using cheerio[0] to scrape a single page with a 1,000 row HTML table. Should I start with something BS-based like this or should I jump straight into Scrapy? Or are there any other alternatives I should try?

[0]: https://github.com/cheeriojs/cheerio

Re: RoboBrowser: Your friendly neighborhood web scraper

#9
post #3

I hope scrapers could be in a form of Chrome extensions, it would record my webpage actions as macros, then execute the macros on a remote headless server without downtime with periodic revisits. No need to program or config anything.

SeleniumIDE[0] provides a nice and simple way of doing this, it's just a very simple Firefox addon that lets you record and playback mouse movements, typing, etc. You can then improve your macro through Selenium WebDriver.

[0] http://www.seleniumhq.org/

Re: RoboBrowser: Your friendly neighborhood web scraper

#10
post #3

I hope scrapers could be in a form of Chrome extensions, it would record my webpage actions as macros, then execute the macros on a remote headless server without downtime with periodic revisits. No need to program or config anything.

Shameless plug, check out https://parsehub.com
Post reply on HN