UQload Downloader Python
A lightweight Python library for retrieving video information and downloading videos from UQload.
Features
- Extract video metadata
- Retrieve direct download URLs
- Download videos with progress callbacks
- Uses only Python's standard library
- No external dependencies
Installation
From PyPI
pip install uqload-dl
From Source
git clone https://github.com/JoelFH23/uqload-downloader-python.git
cd uqload-downloader-python
python -m pip install .
To install with development dependencies (e.g., for testing):
python -m pip install .[dev]
Quick Start
Get Video Information
from uqload_dl import UQload
client = UQload()
video = client.get_info(
"https://uqload.is/embed-xxxxxxxx.html"
)
print(video.title)
print(video.duration)
print(video.resolution)
print(video.file_size)
print(video.mp4_url)
Example output:
Title: Example Video
Duration: 00:15:32
Resolution: 1920x1080
File Size: 104857600
MP4 URL: https://...
Download a Video
from uqload_dl import UQload
client = UQload()
video = client.get_info(
"https://uqload.is/embed-xxxxxxxx.html"
)
client.download(video)
Download with Progress Tracking
from uqload_dl import UQload
def progress(downloaded: int, total: int) -> None:
percentage = downloaded / total * 100
print(f"\r{percentage:.2f}%", end="")
client = UQload()
video = client.get_info(
"https://uqload.is/embed-xxxxxxxx.html"
)
client.download(
video_info=video,
progress_callback=progress,
)
Custom Download Directory
By default, files are downloaded to the user's Downloads directory.
from uqload_dl import UQload
client = UQload(
output_dir="/home/Joel/Videos"
)
From the command line
uqload-dl -u "https://uqload.io/xxxxxxxxxxxx.html"
Optional arguments:
uqload-dl -u "https://uqload.io/xxxxxxxxxxxx.html" -o /home/joel/Videos
Requirements
- Python 3.10+
Disclaimer
This project is intended for educational and personal use only.
Users are responsible for ensuring they comply with all applicable laws, website terms of service, and copyright regulations.
License
This project is licensed under the terms of the GNU General Public License v3.0.
See the LICENSE file for full details.
Metadata
Release files for uqload-dl 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| uqload_dl-3.0.0.tar.gz | 47.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uqload_dl-3.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 84.0 kB
Release files / uqload_dl-3.0.0.tar.gz
| Download URL | uqload_dl-3.0.0.tar.gz |
|---|---|
| Size | 47.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df6e1d69f8427f724a6beb7ae8954d694b5d05226f400673d044f0ea99d59f1e
|
|
BLAKE2b-256 checksum How to use checksums |
2bbdb89c86895ca8bef61068d67152d42485512e76034e092836b1cdad2d77f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / uqload_dl-3.0.0-py3-none-any.whl
| Download URL | uqload_dl-3.0.0-py3-none-any.whl |
|---|---|
| Size | 36.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06324d35c49865bb1657ada773ca773f3e718b79b77f51d34f6996cb1afc3551
|
|
BLAKE2b-256 checksum How to use checksums |
1c084f91d82deabfbd864b8291c2a0fd19f227ccf1ba24fcd29f52cc472c89b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|