alecxe / scrapy-fake-useragent

Random User-Agent middleware based on fake-useragent
MIT License
686 stars 98 forks source link

Deprecated class warning on disabling UserAgentMiddleware #3

Closed shafaq closed 8 years ago

shafaq commented 8 years ago

When using this line in settings.py, at running spider a warning for deprecated class is given. 'scrapy.contrib.downloadermiddleware.useragent.UserAgentMiddleware': None,

Instead scrapy.downloadermiddlewares.useragent.UserAgentMiddleware should be used. Can you please change the docs to reflect this.

alecxe commented 8 years ago

Good point, updated the README. Thanks!