Installation
Install chromium
If chromium is not detected after installation, set CHROME_PATH environment variable to point to the chromium executable file
Linux
sudo apt update
sudo apt upgrade
sudo apt install chromium
Windows
You can install chromium from woolyss
Install venv to run tests
uv run python ## should automatically create venv and install dependencies
Usage
- method to get html content of a page
- or with a "tab" handle if you want to automate a flow
check tests for details on how to use.
Notes
Browser control
- -> selenium : old and battle tested
- pyppeteer : only chrome -> chrome debug protocol
- playwright : modern, support more browsers
How to set user agents
- The only working option found is the --user-agent chromium argument
Chromium started in its own process
- if vanilla selenium is used with patched driver, it does not work (detected as bot). The reason is that selenium starts chromium itself and that is a problem. Chromium has to be started independently.
References
Improvements
- ?
Information
- patching with cdp scipts are detected by some WAF
- undetected_chromium works better (patching the driver binary)
- script alteration can be detected
- selenium-stealth uses cdp and js scripts to hide elements
- https://www.zenrows.com/blog/undetected-chromedriver-vs-selenium-stealth
- I included patcher in the code, but apparently cdc values are not anymore used in the driver. So it does nothing.
Metadata
Release files for ggwebextract 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ggwebextract-0.1.2.tar.gz | 15.6 kB | Without provenance | Details for ggwebextract-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ggwebextract-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for ggwebextract-0.1.2-py3-none-any.whl |
Total release size: 33.0 kB
Release files / ggwebextract-0.1.2.tar.gz
| Download URL | ggwebextract-0.1.2.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ee44878957a951f9a22baf2905ece76719dda607909d37d2171e7ca8e2b5d9a
|
|
BLAKE2b-256 checksum How to use checksums |
56b25c37fbcecae672beae83d49f4886923ed5da8a57fdce968e5375cbb50997
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / ggwebextract-0.1.2-py3-none-any.whl
| Download URL | ggwebextract-0.1.2-py3-none-any.whl |
|---|---|
| Size | 17.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f70ff685d3dd96e46180edc4daa119100dec58116e9d93d4ab0e8df3cc0c6566
|
|
BLAKE2b-256 checksum How to use checksums |
976e6eae2291a46d8ab76ac051234ed3fade0a3eaa5bde5d63b79b3adc4cd251
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for ggwebextract 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.