Added custom user-agent because otherwise it would block, because not amused by scraper
This commit is contained in:
parent
4b377bb9a9
commit
fb41d772f2
@ -16,6 +16,8 @@ ITEM_PIPELINES = {
|
||||
FEED_URI = 'results.json'
|
||||
FEED_FORMAT = 'jsonlines'
|
||||
|
||||
USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36'
|
||||
|
||||
|
||||
# Crawl responsibly by identifying yourself (and your website) on the
|
||||
# user-agent
|
||||
|
Reference in New Issue
Block a user