–– coding: utf-8 –– from scrapy.spiders import Spider from scrapy import Request class MaoyanSpider(Spider): name = ‘maoyan’ allowed_domains = [‘maoyan.com’] maoyan_headers={“User-Agent”:“Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36”} def sta