{"id":28456620,"url":"https://github.com/maple3142/ytdl","last_synced_at":"2025-06-29T10:30:47.886Z","repository":{"id":63862346,"uuid":"130371895","full_name":"maple3142/ytdl","owner":"maple3142","description":"Get youtube video download url","archived":false,"fork":false,"pushed_at":"2021-02-03T18:41:35.000Z","size":82,"stargazers_count":265,"open_issues_count":5,"forks_count":58,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-06-06T23:08:18.681Z","etag":null,"topics":["download","youtube","youtube-download"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maple3142.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-20T14:17:31.000Z","updated_at":"2025-05-09T13:35:15.000Z","dependencies_parsed_at":"2022-11-27T21:08:09.146Z","dependency_job_id":null,"html_url":"https://github.com/maple3142/ytdl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maple3142/ytdl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maple3142%2Fytdl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maple3142%2Fytdl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maple3142%2Fytdl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maple3142%2Fytdl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maple3142","download_url":"https://codeload.github.com/maple3142/ytdl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maple3142%2Fytdl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262577671,"owners_count":23331464,"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":["download","youtube","youtube-download"],"created_at":"2025-06-06T23:08:21.819Z","updated_at":"2025-06-29T10:30:47.875Z","avatar_url":"https://github.com/maple3142.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ytdl\r\n\r\n\u003e Get youtube video download url\r\n\r\n## JSON api\r\n\r\nA sample url to get information of **[DAOKO × 米津玄師『打上花火』MUSIC VIDEO](https://www.youtube.com/watch?v=-tKVN2mAKRI)**.\r\n\r\n[https://ytdl.maple3142.net/api?id=-tKVN2mAKRI](https://ytdl.maple3142.net/api?id=-tKVN2mAKRI)\r\n\r\n\u003e To download other video, just change id in the url.\r\n\r\n### Formatted version\r\n\r\n[https://ytdl.maple3142.net/api?id=T2pdmZhDXfo\u0026format=1](https://ytdl.maple3142.net/api?id=T2pdmZhDXfo\u0026format=1)\r\n\r\n\u003e You can append `format=1` to get a human readable JSON.\r\n\r\n## Graphql\r\n\r\nGraphiql: [https://ytdl.maple3142.net/graphql](https://ytdl.maple3142.net/graphql)\r\n\r\n### [Example](https://ytdl.maple3142.net/graphql?query=query%20(%24id%3A%20String!)%20%7B%0A%20%20search(id%3A%20%24id)%20%7B%0A%20%20%20%20meta%20%7B%0A%20%20%20%20%20%20title%0A%20%20%20%20%20%20thumbnail_url%0A%20%20%20%20%20%20author%0A%20%20%20%20%20%20view_count%0A%20%20%20%20%7D%0A%20%20%20%20stream%20%7B%0A%20%20%20%20%20%20quality%0A%20%20%20%20%20%20type%0A%20%20%20%20%20%20url%0A%20%20%20%20%20%20itag%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A\u0026variables=%7B%0A%20%20%22id%22%3A%20%22XogSflwXgpw%22%0A%7D%0A)\r\n\r\nQuery:\r\n\r\n```graphql\r\nquery ($id: String!) {\r\n  search(id: $id) {\r\n    meta {\r\n      title\r\n      thumbnail_url\r\n      author\r\n      view_count\r\n    }\r\n    stream {\r\n      quality\r\n      type\r\n      url\r\n      itag\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nVariables:\r\n\r\n```json\r\n{\r\n  \"id\": \"XogSflwXgpw\"\r\n}\r\n```\r\n\r\n## Userscript\r\n\r\n[Local YouTube Downloader](https://greasyfork.org/zh-TW/scripts/369400-local-youtube-downloader)\r\n\r\n[Source Code](https://github.com/maple3142/browser-extensions/blob/master/scripts/local-youtube-dl.user.js)\r\n\r\nA simple youtube link fetcher implemented in browser.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaple3142%2Fytdl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaple3142%2Fytdl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaple3142%2Fytdl/lists"}