在杂剧作家中,如何设置“无头=假”。我正在尝试这样的东西。
def start_requests(self):
yield scrapy.Request(
url=url,
callback = self.parse,
meta= dict(
playwright = True,
playwright_include_page = True,
playwright_page_coroutines = [
PageCoroutine("click", selector = "//input[@name='typeAheadInputField']"),
]
)
)
return super().start_requests()
def parse(self, response):
pass
1条答案
按热度按时间9rygscc11#
settings.py