Re:Ask HN: How you scrape websites?
by remx on Sunday May 14, 2017 @10:02AM
(#14335649)
Greasemonkey[0] is fairly handy for scraping. You can even include remote resources like jQuery if you're targeting specific DOM elements in the page. For storing the data, you can just use LocalStorage (for example if you're paginating)
Re:Ask HN: How you scrape websites?
by stefanpie on Sunday May 14, 2017 @11:11PM
(#14338888)
99% of the time I can easily thow together a simple Python script with the BeautifulSoup and requests libraries to do any kind of basic scraping, form text to images or to API endpoints. And most of the time if I need a to store the data nicely I can either use the built-in csv or json modules or use SQLite database as a single file (which I believe is also part of the standard library)
Re:Ask HN: How you scrape websites?
by brandonlipman on Friday May 12, 2017 @11:54PM
(#14329466)
So many ways to do this. What are you trying to scrape? If its light weight, you could use a Chrome plugin called Data Miner. Right now I am using Beautiful Soup for most of my scrapping and love it. Python is incredibly easy to learn and powerful.
[0] https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
[0] https://jsoup.org/
Selenium with Chrome running in a virtual display.
Python requests with Beautifulsoup