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"
}
]
Metadata
Release files for ytserver 0.1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ytserver-0.1.0.2.tar.gz | 4.3 kB | Without provenance | Details for ytserver-0.1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ytserver-0.1.0.2-py3-none-any.whl | Python 3 | none | any | Details for ytserver-0.1.0.2-py3-none-any.whl |
Total release size: 11.1 kB
Release files / ytserver-0.1.0.2.tar.gz
| Download URL | ytserver-0.1.0.2.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05c35580dd0aff1fac031e1370a48f7cb206f2125000ea5ac5ba05dd96cd9ef6
|
|
BLAKE2b-256 checksum How to use checksums |
4619519562ce841eb89dc1c5b84cb0997e4d011a6bfe2052b5564440e55e70f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.2 Darwin/23.3.0
|
Release files / ytserver-0.1.0.2-py3-none-any.whl
| Download URL | ytserver-0.1.0.2-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbde04160c88ac8a9150ad6c899e6f956c5f9b541d5f6de33d5d1705d6b349ba
|
|
BLAKE2b-256 checksum How to use checksums |
6e94c1788bf3ef9874917fbcca8f867277a87936ab7f296a7845582c1438f939
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.2 Darwin/23.3.0
|
Security for ytserver 0.1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.