Closed juanfrilla closed 1 year ago
old chrome cdp api is not available for now: Using unsafe HTTP verb GET to invoke /json/new. This action supports only PUT verb.
The old synchronous version is no longer being updated, so it's no longer usable. If you cannot accept the coroutine usage, you may want to try playwright-python from Microsoft.
Okay, thanks, so I'll continue using asynchronous ichrome (the downside of async is that it adds complexity if I add it to my scrapy project), playwright-python i cannot use it because I'm using centOS in my server and is not supported by plawright
sync version ichrome is hard to stop (for threading's native issue), and I was a noob when started writing ichrome
so that I was not able to abstract synchronous and asynchronous models into a unified architecture.
They are all problems left over from history. Now that I have been working on a salary cut and I am very busy, I don’t have the energy to maintain two sets of codes at the same time.
thanks @ClericPy don't worry. Ichrome for me it's a good tool and I can adapt to asynchronous ichrome, I'm using because playwright is not supported by my server and selenium (undetected-chromedriver) it's prone to trouble. So ichrome it's the only alternative I have
most other choices most have been dead for years, https://github.com/pyppeteer/pyppeteer is also dead ...
playwright has many language versions, and it has official docker image for server system issues
Here, when I use
tab = chrome.new_tab()
tab isNone
, why?