Add your description here
Project description
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
- ?
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ggwebextract-0.1.1.tar.gz.
File metadata
- Download URL: ggwebextract-0.1.1.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eeb7bc3e02fd185fe8222c475a039948649722018a9f17b5779409bc6c2620f9
|
|
| MD5 |
41e9e5aa5e41bb5776f1244c8bd2e8ca
|
|
| BLAKE2b-256 |
4cf9a5800412355ec69a9af8589e22feee27997604ba7d7535a886b1db491c8f
|
File details
Details for the file ggwebextract-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ggwebextract-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04eb4a8a41243cd28732bfcec4d63bd2b38915a7b982e945a8742d57e70d1160
|
|
| MD5 |
8663744b5beea61e8fe8eb5d51ee16a1
|
|
| BLAKE2b-256 |
c7c729a9047310fbdcb3356e418521b52cf8c0c8cf553115059c76ce6a070389
|