Open lovgrandma opened 3 months ago
When I print the types of those 3 arguements being passed into where that error occurs I get the following:
Request: <class 'scrapy.http.request.Request'> Page: <class 'playwright.async_api._generated.Page'> Spider:<class 'tycoon_crawler.spiders.tycoon_spider.TycoonSpider'>
Unsure why I get 2024-03-16 15:25:31 [scrapy-playwright] WARNING: Closing page due to failed request: ........ ERR_INVALID_ARGUMENT at https://www.acnestudios.com/ca/en/tw.....
because the declaration looks like so:
async def _download_request_with_page( self, request: Request, page: Page, spider: Spider ) -> Response:
This is not an incorrect argument being passed between methods, the net::ERR_INVALID_ARGUMENT
error comes from Chromium: search for "chromium net::ERR_INVALID_ARGUMENT" and you'll see many results.
I'm not 100% sure, but IIRC this might be related to SSL verification. I think I remember seeing it myself when working with proxies that needed an external certificate to verify HTTPS connections.
I seem to be getting the following issue but I am unsure why the argument passed is invalid?
Model Name: MacBook Pro Model Identifier: Mac14,7 Model Number: MNEJ3LL/A Chip: Apple M2 Total Number of Cores: 8 (4 performance and 4 efficiency) Memory: 8 GB System Firmware Version: 8419.80.7 OS Loader Version: 8419.80.7 System Version: macOS 13.2.1 (22D68) Kernel Version: Darwin 22.3.0 Boot Volume: Macintosh HD Boot Mode: Normal
See code:
See error below. I am unsure what to make of it besides a bad argument but where?