Created
May 4, 2024 15:23
-
-
Save arslandevs/a5f00eb133ac42ca112bd0bdbe3a780e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def start_requests(self): | |
| yield scrapy.Request( | |
| url="http://quotes.toscrape.com/scroll", | |
| meta={ | |
| "playwright": True, | |
| "playwright_page_methods": [ | |
| PageMethod("wait_for_selector", "div.quote") | |
| ], | |
| "playwright_include_page": True | |
| }, | |
| errback=self.close_page | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment