Skip to main content

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.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ggwebextract 0.1.4
File Size Uploaded Provenance Actions
ggwebextract-0.1.4.tar.gz 15.7 kB Without provenance Details for ggwebextract-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ggwebextract 0.1.4
File Interpreter ABI Platform Actions
ggwebextract-0.1.4-py3-none-any.whl Python 3 none any Details for ggwebextract-0.1.4-py3-none-any.whl

Total release size: 33.4 kB

Release files / ggwebextract-0.1.4.tar.gz

Download URL ggwebextract-0.1.4.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
041715aa4c8b8484287251053f3842399f56cdf062ae1c4ab501fe4be68119f0
BLAKE2b-256 checksum
How to use checksums
2f49a3bb9d5717012985e1205a6bdf107452bda766c64e2f9b0ddf185d584767
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.14

Release files / ggwebextract-0.1.4-py3-none-any.whl

Download URL ggwebextract-0.1.4-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
890218635759daeb90d9ac02f46e54fc85335602af440e93801f7e91008dacfd
BLAKE2b-256 checksum
How to use checksums
b2d6638b8975f8a4e80e099fb7db5070ad5d8381ceb7ba2348393fb617af940f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.14

Security for ggwebextract 0.1.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page