Answer the question
In order to leave comments, you need to log in
Scrapy - I give up!
dumpz.org/160218/ and paste.in.ua/3882/ are the results of my tinkering with scrapy.
There are three questions on this topic:
how to send this request
opener = urllib2.build_opener()
opener.addheaders = [('cookie', cookie)]
opener.open('http://wordstat.yandex.ru/?cmd=words&page=1&text=&geo=&text_geo=&captcha_id=%s&captcha_val=', key)
Answer the question
In order to leave comments, you need to log in
You can slow it down with these settings
CONCURRENT_REQUESTS - max number of simultaneous requests
CONCURRENT_REQUESTS_PER_DOMAIN - max number of simultaneous requests per domain
DOWNLOAD_DELAY - delay between requests
Previously, there was also CONCURRENT_SPIDERS - max number of spiders. Apparently they removed it.
By default, scrapy merges cookies, as indicated by the dont_merge_cookies
parameter
The only condition is that you must use the built-in Request
A little offtopic, but what are your wordstat request volumes? Maybe it makes sense to use Yandex.Direct api - CreateNewWordstatReport ? (for 1 acc — 1000 requests/day)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question