Home > other >  Scrapy use redis_key as the initial url is passed, requires cookies to access this url, needs to be
Scrapy use redis_key as the initial url is passed, requires cookies to access this url, needs to be

Time:09-29

I didn't use the scrapy - redis before code is
 def start_requests (self) : 
Return [Request (url, meta={' cookiejar: 1}, the callback=self. Parse)]

use scrapy - redis redis_key code into the case after the initial url
 def make_requests_from_url (self, url) : 
Return the Request (url, dont_filter=True, meta={' cookiejar: 1}, the callback=self. Parse)


? But? So cannot access, do you have a great god can help me have a look?
  • Related