AtuboDad / playwright_stealth

playwright stealth
MIT License
541 stars 71 forks source link

Replace pkg_resources usage with plain file reading #32

Open jobedom-scrapingbee opened 3 months ago

jobedom-scrapingbee commented 3 months ago

pkg_resources is deprecated and as of pip 24 (+ Python 3.12) its not working anymore at all. Replacing with a simple file read.

Fixes https://github.com/AtuboDad/playwright_stealth/issues/22

This PR is a cleanup of @paveldudka PR https://github.com/AtuboDad/playwright_stealth/pull/24 to get the fix merged as soon as possible.

MJafarMashhadi commented 1 month ago

@AtuboDad Any updates on this?

paveldudka commented 1 month ago

@MJafarMashhadi , we ended up forking this repo and take over maintenance.

If you are interested - check out https://github.com/tinyfish-io/tf-playwright-stealth New artifact can be installed via:

pip install tf-playwright-stealth