Scrapy中添加随机User-Agent
方法:使该模块scrapy-fake-useragent 1,pip install scrapy-fake-useragent 2,在setting.py 写: DOWNLOADER_M ...
方法:使该模块scrapy-fake-useragent 1,pip install scrapy-fake-useragent 2,在setting.py 写: DOWNLOADER_M ...