{"id":23028557,"url":"https://github.com/brian404/yt-dlp","last_synced_at":"2025-04-02T20:21:41.750Z","repository":{"id":267697122,"uuid":"902058080","full_name":"brian404/yt-dlp","owner":"brian404","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-11T21:45:26.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T10:45:55.448Z","etag":null,"topics":["express","rest-api","youtube-api","youtube-dl","youtube-downloader","yt-dlp"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brian404.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-11T20:31:15.000Z","updated_at":"2024-12-11T21:45:30.000Z","dependencies_parsed_at":"2024-12-11T22:39:24.218Z","dependency_job_id":null,"html_url":"https://github.com/brian404/yt-dlp","commit_stats":null,"previous_names":["brian404/yt-dlp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brian404%2Fyt-dlp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brian404%2Fyt-dlp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brian404%2Fyt-dlp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brian404%2Fyt-dlp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brian404","download_url":"https://codeload.github.com/brian404/yt-dlp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246885014,"owners_count":20849607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express","rest-api","youtube-api","youtube-dl","youtube-downloader","yt-dlp"],"created_at":"2024-12-15T14:11:43.060Z","updated_at":"2025-04-02T20:21:41.710Z","avatar_url":"https://github.com/brian404.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YouTube Downloader API\nExpress.js API to download YouTube videos or audio using yt-dlp.\n\n## Requirements\n\n- **Node.js**\n- **Express.js\n- **Python (3.9 or higher)\n- **FFmpeg**\n- **Cookies File**: Add your YouTube cookies in `cookies.txt` (Netscape format).\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/brian404/yt-dlp.git\n   cd yt-dlp/api\n    ```\n\n2. Install dependencies:\n\n    ```bash\n    npm i\n    ```\n\n3. start the server:\n\n    ```bash\n    npm start\n    ```\n    ## Usage\nEndpoint: /api/yt\n\nMethod: GET\n\nQuery Parameters:\n\nurl (required): YouTube video URL.\n\nformat (optional): mp3 or mp4. Defaults to mp4.\n\n## examples\nDownload Video:\n\nhttp://localhost:3000/api/yt?url=https://www.youtube.com/watch?v=example\n\nDownload Audio:\n\nhttp://localhost:3000/api/yt?url=https://www.youtube.com/watch?v=example\u0026format=mp3\n\n## Disclaimer\nRespect YouTube's Terms of Service when using this tool. Misuse of authentication tokens can lead to account suspension.\n\nBe cautious when using your cookies.txt file. Exposing your cookies can lead to unauthorized access to your YouTube account and compromise your privacy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrian404%2Fyt-dlp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrian404%2Fyt-dlp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrian404%2Fyt-dlp/lists"}