Name | ytserver JSON |
Version |
0.1.0.2
JSON |
| download |
home_page | |
Summary | A server for yt-dlp to download videos |
upload_time | 2024-03-08 02:35:19 |
maintainer | |
docs_url | None |
author | Mohammed Alsahli |
requires_python | >=3.10,<4.0 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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
```json
[
{
"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"
}
]
```
Raw data
{
"_id": null,
"home_page": "",
"name": "ytserver",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Mohammed Alsahli",
"author_email": "mohammed.saud.alsahli@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/46/19/519562ce841eb89dc1c5b84cb0997e4d011a6bfe2052b5564440e55e70f5/ytserver-0.1.0.2.tar.gz",
"platform": null,
"description": "# How to use the app\n\nTo install the app run:\n`pip install ytserver`\n\nto run the server, run: `ytserver`\n\nIt will run on the `0.0.0.0` at port `8000`\n\nto 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\n\n```json\n [\n {\n \"extractor_key\": \"Twitter\",\n \"display_id\": \"1765708518038941924\",\n \"thumbnail\": \"https://pbs.twimg.com/amplify_video_thumb/1765708420500402176/img/3jLKkb4EKAz0NlXT.jpg?name=small\",\n \"title\": \"\u0641\u064a\u062f\u064a\u0648\u0647\u0627\u062a \u0648\u0631\u0648\u0627\u0628\u0637 \u0627\u0644\u0623\u062d\u062f\u0627\u062b - \u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u062a\u062d\u0631\u064a\u0627\u062a \u0648\u0627\u0644\u0628\u062d\u062b \u0627\u0644\u062c\u0646\u0627\u0626\u064a \u0628\u0634\u0631\u0637\u0629 \u0645\u0646\u0637\u0642\u0629 \u0627\u0644\u0631\u064a\u0627\u0636 \u062a\u0642\u0628\u0636 \u0639\u0644\u0649 \u0634\u062e\u0635 \u0644\u0627\u0646\u062a\u062d\u0627\u0644\u0647 \u0635\u0641\u0629 \u063a\u064a\u0631 \u0635\u062d\u064a\u062d\u0629.\",\n \"description\": \"\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u062a\u062d\u0631\u064a\u0627\u062a \u0648\u0627\u0644\u0628\u062d\u062b \u0627\u0644\u062c\u0646\u0627\u0626\u064a \u0628\u0634\u0631\u0637\u0629 \u0645\u0646\u0637\u0642\u0629 \u0627\u0644\u0631\u064a\u0627\u0636 \u062a\u0642\u0628\u0636 \u0639\u0644\u0649 \u0634\u062e\u0635 \u0644\u0627\u0646\u062a\u062d\u0627\u0644\u0647 \u0635\u0641\u0629 \u063a\u064a\u0631 \u0635\u062d\u064a\u062d\u0629. https://t.co/fqGvREBNEI\",\n \"uploader_url\": \"https://twitter.com/videohat_1\",\n \"webpage_url\": \"https://twitter.com/videohat_1/status/1765708518038941924\",\n \"duration_string\": \"16\",\n \"formats\": {\n \"audio\": [],\n \"video\": [\n {\n \"format\": \"http-288 - 302x270\",\n \"format_note\": null,\n \"ext\": \"mp4\",\n \"protocol\": \"https\",\n \"resolution\": \"302x270\",\n \"url\": \"https://video.twimg.com/amplify_video/1765708420500402176/vid/avc1/302x270/MFtQlpDZCyxkCCKZ.mp4?tag=14\",\n \"filesize\": null\n },\n {\n \"format\": \"http-832 - 404x360\",\n \"format_note\": null,\n \"ext\": \"mp4\",\n \"protocol\": \"https\",\n \"resolution\": \"404x360\",\n \"url\": \"https://video.twimg.com/amplify_video/1765708420500402176/vid/avc1/404x360/OJcGw6iIYz4P9Lg_.mp4?tag=14\",\n \"filesize\": null\n },\n {\n \"format\": \"http-2176 - 576x512\",\n \"format_note\": null,\n \"ext\": \"mp4\",\n \"protocol\": \"https\",\n \"resolution\": \"576x512\",\n \"url\": \"https://video.twimg.com/amplify_video/1765708420500402176/vid/avc1/576x512/MJBW8Ku18AHg5uD8.mp4?tag=14\",\n \"filesize\": null\n }\n ]\n },\n \"upload_date\": \"20240307\"\n }\n ]\n```",
"bugtrack_url": null,
"license": "",
"summary": "A server for yt-dlp to download videos",
"version": "0.1.0.2",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6e94c1788bf3ef9874917fbcca8f867277a87936ab7f296a7845582c1438f939",
"md5": "e3cb221a79ef8ce7617a00298da11b7b",
"sha256": "dbde04160c88ac8a9150ad6c899e6f956c5f9b541d5f6de33d5d1705d6b349ba"
},
"downloads": -1,
"filename": "ytserver-0.1.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e3cb221a79ef8ce7617a00298da11b7b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 6774,
"upload_time": "2024-03-08T02:35:17",
"upload_time_iso_8601": "2024-03-08T02:35:17.054030Z",
"url": "https://files.pythonhosted.org/packages/6e/94/c1788bf3ef9874917fbcca8f867277a87936ab7f296a7845582c1438f939/ytserver-0.1.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4619519562ce841eb89dc1c5b84cb0997e4d011a6bfe2052b5564440e55e70f5",
"md5": "94a979ee1eb49ba48b8ba3798cb9fbed",
"sha256": "05c35580dd0aff1fac031e1370a48f7cb206f2125000ea5ac5ba05dd96cd9ef6"
},
"downloads": -1,
"filename": "ytserver-0.1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "94a979ee1eb49ba48b8ba3798cb9fbed",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 4315,
"upload_time": "2024-03-08T02:35:19",
"upload_time_iso_8601": "2024-03-08T02:35:19.095463Z",
"url": "https://files.pythonhosted.org/packages/46/19/519562ce841eb89dc1c5b84cb0997e4d011a6bfe2052b5564440e55e70f5/ytserver-0.1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-08 02:35:19",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "ytserver"
}