https://github.com/siddhant-k-code/yt-fetch
https://github.com/siddhant-k-code/yt-fetch
api downloader youtube youtube-api youtube-dl
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/siddhant-k-code/yt-fetch
- Owner: Siddhant-K-code
- License: mit
- Created: 2020-12-15T05:28:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-20T03:56:29.000Z (over 5 years ago)
- Last Synced: 2025-06-06T05:02:11.859Z (12 months ago)
- Topics: api, downloader, youtube, youtube-api, youtube-dl
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YT-Fetch - An API to fetch YouTube video metadata
There are a lot of YouTube video downloaders out there. By making use of tools like `youtube-dl`, they get the job done. But `YT-Fetch` is different. It is an API that returns necessary data to create your own downloader. Now you can create beautiful frontends with your favourite tools like, Reactjs, Vuejs, Sveltejs and whatnot.
It returns data including `title`, `views`, `links to thumbnail` and `various formats along with links to them`. Just an API call and get all the data you need in quick time.
### Usage
For Now:
Run it On `Repl.it`: https://repl.it/@SiddhantKcode/YT-Fetch
Press `Ctrl+shift+s` to open shell and run following commands:
`pip install -r requirements.txt`
`python main.py`
Now, Go to the following Link:https://yt-fetch.siddhantkcode.repl.co/api/7jwiIn_1YXE
Example: https://yt-fetch.siddhantkcode.repl.co/api/7jwiIn_1YXE
> Original Video Link: https://www.youtube.com/watch?v=7jwiIn_1YXE
This should return all the necessary data required to create an app.
### Future Possible Updates:
>` curl https://YT-Fetch.siddhantkcode.repl.co/api/{video_id}`
### Response Contents
| Name | Key | Description |
| ------------ | ---------- | -------------------------------------------------------------------- |
| Title | title | Title of the video |
| Channel Name | channel | Channel the video belongs to |
| Views | views | Total view count(when the API call was made) |
| Length | length | Duration of the video in seconds |
| Thumbnails | thumbnails | List of dictionary containing various thumbnail sizes and their URLs |
| Formats | formats | List of dictionary containing different video formats |