Is anybody able to help me work out what's going on? I had recently setup scrapy_proxies and scrapy-fake-useragent, but for whatever reason I seem to get timeouts of specific sites as soon as I alter the download middlewares.
I have removed all references to scrapy_proxies as part of the troubleshooting in order to rule everything out.
I am using the middlwares from the instructions, however the only way I can get to the page is to either comment out the middlewares entirely, or simply use the following (which are disabled as part of the install instructions):
DOWNLOADER_MIDDLEWARES = {
'scrapy_fake_useragent.middleware.RandomUserAgentMiddleware': 400,
'scrapy_fake_useragent.middleware.RetryUserAgentMiddleware': 401,
'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware': None,
'scrapy.downloadermiddlewares.retry.RetryMiddleware': None
}
FAKEUSERAGENT_PROVIDERS = [
'scrapy_fake_useragent.providers.FakeUserAgentProvider', # this is the first provider we'll try
'scrapy_fake_useragent.providers.FakerProvider', # if FakeUserAgentProvider fails, we'll use faker to generate a user-agent string for us
'scrapy_fake_useragent.providers.FixedUserAgentProvider', # fall back to USER_AGENT value
]
Hi,
Is anybody able to help me work out what's going on? I had recently setup
scrapy_proxies
andscrapy-fake-useragent
, but for whatever reason I seem to get timeouts of specific sites as soon as I alter the download middlewares.In particular, the following URL: https://www.very.co.uk
I have removed all references to
scrapy_proxies
as part of the troubleshooting in order to rule everything out.I am using the middlwares from the instructions, however the only way I can get to the page is to either comment out the middlewares entirely, or simply use the following (which are disabled as part of the install instructions):
Any ideas as to what might be the issue?
Applied Settings
Timeout