A command-line tool for web rendering and extraction via AceDataCloud.
pip install webextrator-cliexport ACEDATACLOUD_API_TOKEN=your_token
webextrator extract https://www.amazon.com/dp/B0C1234567
webextrator render https://example.com
webextrator tasks retrieve --id <task-id>| Command | Description |
|---|---|
webextrator extract <url> |
Extract structured content from a web page |
webextrator render <url> |
Render a web page and return the HTML |
webextrator tasks retrieve |
Retrieve a single task by ID or trace ID |
webextrator tasks batch |
Retrieve multiple tasks at once |
webextrator config |
Show current configuration |
--token TEXT API token (or set ACEDATACLOUD_API_TOKEN env var)
--version Show version
--help Show help message
Set environment variables or use a .env file:
ACEDATACLOUD_API_TOKEN=your_token
ACEDATACLOUD_API_BASE_URL=https://api.acedata.cloud
WEBEXTRATOR_REQUEST_TIMEOUT=60MIT