4 ms·
I've been through the rigmarole of writing my own crawlers and and find Scrapy very powerful. I've run into roadblocks with dynamic/Javascript heavy sites; for
by qrybam 9y ago
I've been through the rigmarole of writing my own crawlers and and find Scrapy very powerful. I've run into roadblocks with dynamic/Javascript heavy sites; for those parts selenium+chromedriver works really well.
As parent and others have said: this is a grey area so make sure to read the terms of use and/or gain permission before scraping.
- wootie512 9y agoI am just getting into web scraping and have also been using Selenium with either Firefox or PhantomJS. Is there a better way to handle the javascript heavy sites? I found one library called dryscraping but haven't had the time to look too deep into it.
- RhodesianHunter 9y agoTake a look at the Google team's Puppeteer https://github.com/GoogleChrome/puppeteer https://github.com/GoogleChrome/puppeteer
- brianwawok 9y agoSplash runs in docker and does a decent job. From the scrapinghub team.
- anewhnaccount2 9y agoNotice how it's not a grey area when Google do it. The usually double standard apply I guess.
- davvolun 9y agoI don't understand what this comment is referring to. Google's spider respects robots.txt, just block all paths and google will not crawl your site. So too for Bing, Yahoo, Baidu (some complications though, I think), Yandex.... Most of the major spiders respect robots.txt. Is there some major Google web scraping effort I'm not aware of?