Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ricardobranco777/xget

xget gets the HTML from dynamic webpages where curl fails
https://github.com/ricardobranco777/xget

curl selenium-python wget

Last synced: 1 day ago
JSON representation

xget gets the HTML from dynamic webpages where curl fails

Awesome Lists containing this project

README

        

![Build Status](https://github.com/ricardobranco777/xget/actions/workflows/ci.yml/badge.svg)

# xget
xget gets content from dynamic webpages where curl & wget fail

Docker image available at `ghcr.io/ricardobranco777/xget:latest`

## Usage:

```
usage: xget [-h] [--debug] [--insecure] [-O OUTPUT] [-t TIMEOUT] [-U USER_AGENT] [--version] url [url ...]

positional arguments:
url

options:
-h, --help show this help message and exit
--debug enable debug (default: False)
--insecure allow insecure server connections when using SSL (default: False)
-O OUTPUT, --output OUTPUT
output file (default: None)
-t TIMEOUT, --timeout TIMEOUT
timeout in seconds (default: 5)
-U USER_AGENT, --user-agent USER_AGENT
user agent (default: None)
--version show program's version number and exit
```

## Requirements

- Docker or Podman for the Docker image

Otherwise:

- Tested on Python 3.10+
- [Selenium](https://pypi.org/project/selenium/)
- Latest [geckodriver](https://github.com/mozilla/geckodriver/releases)