A server for yt-dlp to download videos
Project description
How to use the app
To install the app run:
pip install ytserver
to run the server, run: ytserver
It will run on the 0.0.0.0 at port 8000
to use the server just make get requiest at http://0.0.0.0:8000/<your video url> and it return a json of the video information
[
{
"extractor_key": "Twitter",
"display_id": "1765708518038941924",
"thumbnail": "https://pbs.twimg.com/amplify_video_thumb/1765708420500402176/img/3jLKkb4EKAz0NlXT.jpg?name=small",
"title": "فيديوهات وروابط الأحداث - إدارة التحريات والبحث الجنائي بشرطة منطقة الرياض تقبض على شخص لانتحاله صفة غير صحيحة.",
"description": "إدارة التحريات والبحث الجنائي بشرطة منطقة الرياض تقبض على شخص لانتحاله صفة غير صحيحة. https://t.co/fqGvREBNEI",
"uploader_url": "https://twitter.com/videohat_1",
"webpage_url": "https://twitter.com/videohat_1/status/1765708518038941924",
"duration_string": "16",
"formats": {
"audio": [],
"video": [
{
"format": "http-288 - 302x270",
"format_note": null,
"ext": "mp4",
"protocol": "https",
"resolution": "302x270",
"url": "https://video.twimg.com/amplify_video/1765708420500402176/vid/avc1/302x270/MFtQlpDZCyxkCCKZ.mp4?tag=14",
"filesize": null
},
{
"format": "http-832 - 404x360",
"format_note": null,
"ext": "mp4",
"protocol": "https",
"resolution": "404x360",
"url": "https://video.twimg.com/amplify_video/1765708420500402176/vid/avc1/404x360/OJcGw6iIYz4P9Lg_.mp4?tag=14",
"filesize": null
},
{
"format": "http-2176 - 576x512",
"format_note": null,
"ext": "mp4",
"protocol": "https",
"resolution": "576x512",
"url": "https://video.twimg.com/amplify_video/1765708420500402176/vid/avc1/576x512/MJBW8Ku18AHg5uD8.mp4?tag=14",
"filesize": null
}
]
},
"upload_date": "20240307"
}
]
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
ytserver-0.1.0.2.tar.gz
(4.3 kB
view details)
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 ytserver-0.1.0.2.tar.gz.
File metadata
- Download URL: ytserver-0.1.0.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05c35580dd0aff1fac031e1370a48f7cb206f2125000ea5ac5ba05dd96cd9ef6
|
|
| MD5 |
94a979ee1eb49ba48b8ba3798cb9fbed
|
|
| BLAKE2b-256 |
4619519562ce841eb89dc1c5b84cb0997e4d011a6bfe2052b5564440e55e70f5
|
File details
Details for the file ytserver-0.1.0.2-py3-none-any.whl.
File metadata
- Download URL: ytserver-0.1.0.2-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbde04160c88ac8a9150ad6c899e6f956c5f9b541d5f6de33d5d1705d6b349ba
|
|
| MD5 |
e3cb221a79ef8ce7617a00298da11b7b
|
|
| BLAKE2b-256 |
6e94c1788bf3ef9874917fbcca8f867277a87936ab7f296a7845582c1438f939
|