Closed tommylge closed 6 months ago
See this comment for an explanation on why it's necessary to override the method for certain requests. There's a number of things that need to happen for this to occur, make sure you're using the latest version of this package because this was modified not so long ago (#177).
Hello, i'm facing an issue concerning this method. I don't understand why you do so, and it causes an error regarding my script.
I've replaced
overrides["method"] = method
withoverrides["method"] = playwright_request.method.upper()
and it works fine, i've seen some issues that might be related but not sure about the solution / answer you provide them.scrapy_playwright/handler.py
-> line n°598.The issue caused when i do not replace your code:
My script:
My settings related:
Possible related issues: https://github.com/scrapy-plugins/scrapy-playwright/issues/176