{"id":20176373,"url":"https://github.com/holps-7/youtube-dl","last_synced_at":"2025-04-10T04:08:05.226Z","repository":{"id":244868435,"uuid":"284489307","full_name":"holps-7/youtube-dl","owner":"holps-7","description":"PHP powered web YouTube Videos downloader","archived":false,"fork":false,"pushed_at":"2020-08-06T19:58:44.000Z","size":462,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T04:07:51.525Z","etag":null,"topics":["curl","curl-library","download-youtube-videos","php","phpunit","video-downloader","youtube-dl","youtube-dl-gui","youtube-dl-php","youtube-downloader"],"latest_commit_sha":null,"homepage":"http://ytdl.howtohack.xyz/","language":"PHP","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/holps-7.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-02T15:32:01.000Z","updated_at":"2021-09-19T18:55:38.000Z","dependencies_parsed_at":"2024-06-18T00:43:03.233Z","dependency_job_id":"597d608f-49b7-4d73-9eca-7aab3e209862","html_url":"https://github.com/holps-7/youtube-dl","commit_stats":null,"previous_names":["holps-7/youtube-dl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holps-7%2Fyoutube-dl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holps-7%2Fyoutube-dl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holps-7%2Fyoutube-dl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holps-7%2Fyoutube-dl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holps-7","download_url":"https://codeload.github.com/holps-7/youtube-dl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154986,"owners_count":21056543,"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":["curl","curl-library","download-youtube-videos","php","phpunit","video-downloader","youtube-dl","youtube-dl-gui","youtube-dl-php","youtube-downloader"],"created_at":"2024-11-14T02:08:53.482Z","updated_at":"2025-04-10T04:08:05.207Z","avatar_url":"https://github.com/holps-7.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ccenter\u003e\n  \n![](https://img.shields.io/badge/author-Ramesh%20Sachan-brightgreen) ![](https://img.shields.io/badge/licence-MIT-green)\n\n\u003c/center\u003e\n\n# ytdl-howtohack.xyz\n### Coded by: [@holps-7](https://github.com/holps-7/ytdl-howtohack-xyz/)\n### Give me the credits if you copy ANY part from this code. Don't be NOOB!!\n## Star this repo if you liked the project!\n\nThis project was inspired by a very popular youtube-dl python package:  \nhttps://github.com/rg3/youtube-dl\n\nYes, there are multiple other PHP-based youtube downloaders on the Internet, \nbut most of them haven't been updated in years, or they depend on youtube-dl itself.  \n\nPure PHP-based youtube downloaders that work, and are **kept-up-to date** just do not exist.\n\nThis script does not depend on anything other than cURL. \nNo Javascript interpreters, no calls to shell... nothing, but pure PHP with no heavy dependencies either.\n\n![](https://github.com/holps-7/youtube-dl/blob/master/images/no_dependencies.png)\n\nThat's all there is to it!\n\n\n## Demo App\n\nThis may not work at all times, because YouTube puts a short ban on the server if it receives too many requests from it.\n\n- http://ytdl.howtohack.xyz/\n\n![](https://github.com/holps-7/youtube-dl/blob/master/images/ytdl.howtohack.xyz.png)\n\n\n### Deploy your own App\n\non Heroku:\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\nCreate a FREE account first if you do not yet have one:  \nhttps://signup.heroku.com/\n\n\n# Usage\n\n\n```php\nuse YouTube\\YouTubeDownloader;\n\n$yt = new YouTubeDownloader();\n\n$links = $yt-\u003egetDownloadLinks(\"https://www.youtube.com/watch?v=LJzCYSdrHMI\");\n\nvar_dump($links);\n```\n\nTypical output:\n\n```php\narray(13) {\n  [0]=\u003e\n  array(3) {\n    [\"url\"]=\u003e\n    string(820) \"https://r4---sn-vgqsrn7s.googlevideo.com/videoplayback?expire=1585718912\u0026ei=INKDXr7sA5PdwQGk5L_wBA\u0026ip=73.44.159.175\u0026id=o-APOJXNOviU0h2w_YwyR88MKLSLJ1Bx77faGZYYK0LJMt\u0026itag=18\u0026source=youtube\u0026requiressl=yes\u0026mh=hA\u0026mm=31%2C29\u0026mn=sn-vgqsrn7s%2Csn-vgqskne6\u0026ms=au%2Crdu\u0026mv=m\u0026mvi=3\u0026pl=15\u0026initcwndbps=1702500\u0026vprv=1\u0026mime=video%2Fmp4\u0026gir=yes\u0026clen=15386550\u0026ratebypass=yes\u0026dur=215.550\u0026lmt=1540977373739457\u0026mt=1585697193\u0026fvip=4\u0026c=WEB\u0026txp=5431432\u0026sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt\u0026lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps\u0026lsig=ABSNjpQwRgIhAMo7U4XgSR09Ztya4aqGq07jdb62Zbk1z6yUtuzimRKoAiEAofZdslUJXvV4apnRzFCtpSx_Ki0qZs41BsctbtyUvo0%3D\u0026sig=ADKhkGMwRQIgapMHgteEaTdLUhadRXmpm0F6hiexTsXwCwVNQK2XV4MCIQC012rLqDUxmlqdKwcd9JIi_vQ9_jczWBTf7wZw4KzYNg==\"\n    [\"itag\"]=\u003e\n    int(18)\n    [\"format\"]=\u003e\n    string(23) \"mp4, video, 360p, audio\"\n  }\n  [1]=\u003e\n  array(3) {\n    [\"url\"]=\u003e\n    string(862) \"https://r4---sn-vgqsrn7s.googlevideo.com/videoplayback?expire=1585718912\u0026ei=INKDXr7sA5PdwQGk5L_wBA\u0026ip=73.44.159.175\u0026id=o-APOJXNOviU0h2w_YwyR88MKLSLJ1Bx77faGZYYK0LJMt\u0026itag=135\u0026aitags=133%2C134%2C135%2C160%2C242%2C243%2C244%2C278\u0026source=youtube\u0026requiressl=yes\u0026mh=hA\u0026mm=31%2C29\u0026mn=sn-vgqsrn7s%2Csn-vgqskne6\u0026ms=au%2Crdu\u0026mv=m\u0026mvi=3\u0026pl=15\u0026initcwndbps=1702500\u0026vprv=1\u0026mime=video%2Fmp4\u0026gir=yes\u0026clen=16811068\u0026dur=215.480\u0026lmt=1540977822655178\u0026mt=1585697193\u0026fvip=4\u0026keepalive=yes\u0026c=WEB\u0026txp=5432432\u0026sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt\u0026lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps\u0026lsig=ABSNjpQwRgIhAMo7U4XgSR09Ztya4aqGq07jdb62Zbk1z6yUtuzimRKoAiEAofZdslUJXvV4apnRzFCtpSx_Ki0qZs41BsctbtyUvo0%3D\u0026sig=ADKhkGMwRQIgYmZ3IRKrmcEpLAoKMkL-534wd4F34esToX0DJFsv5-4CIQDfEevpFMn57t3-Tidx5VHraC9QS24y-fUgWqWzNvoxag==\"\n    [\"itag\"]=\u003e\n    int(135)\n    [\"format\"]=\u003e\n    string(16) \"mp4, video, 480p\"\n  }\n  [2]=\u003e\n  array(3) {\n    [\"url\"]=\u003e\n    string(863) \"https://r4---sn-vgqsrn7s.googlevideo.com/videoplayback?expire=1585718912\u0026ei=INKDXr7sA5PdwQGk5L_wBA\u0026ip=73.44.159.175\u0026id=o-APOJXNOviU0h2w_YwyR88MKLSLJ1Bx77faGZYYK0LJMt\u0026itag=244\u0026aitags=133%2C134%2C135%2C160%2C242%2C243%2C244%2C278\u0026source=youtube\u0026requiressl=yes\u0026mh=hA\u0026mm=31%2C29\u0026mn=sn-vgqsrn7s%2Csn-vgqskne6\u0026ms=au%2Crdu\u0026mv=m\u0026mvi=3\u0026pl=15\u0026initcwndbps=1702500\u0026vprv=1\u0026mime=video%2Fwebm\u0026gir=yes\u0026clen=12496451\u0026dur=215.480\u0026lmt=1540977711684149\u0026mt=1585697193\u0026fvip=4\u0026keepalive=yes\u0026c=WEB\u0026txp=5432432\u0026sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt\u0026lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps\u0026lsig=ABSNjpQwRgIhAMo7U4XgSR09Ztya4aqGq07jdb62Zbk1z6yUtuzimRKoAiEAofZdslUJXvV4apnRzFCtpSx_Ki0qZs41BsctbtyUvo0%3D\u0026sig=ADKhkGMwRQIhAOLXVJMMW8zKJm1Moug94ak57hijQ3HAKnIu6y8mZtyiAiBs9kY_wHtiAd3rg4891X7aBJiqzDyEoxaVCodWeJt9hQ==\"\n    [\"itag\"]=\u003e\n    int(244)\n    [\"format\"]=\u003e\n    string(17) \"webm, video, 480p\"\n  },\n  ...\n}\n```\n\nIf you are looking for links that include both video and audio in a single file, \nthen filter down that list to look for links that contain both `video` and `audio` inside its `format` property.\n\n## Other Features\n\n- Stream YouTube videos directly from your server:\n\n```php\n$youtube = new \\YouTube\\YouTubeStreamer();\n$youtube-\u003estream('https://r4---sn-n4v7knll.googlevideo.com/videoplayback?...');\n```\n\n## Contributing\n\nFeel free to create Pull Requests, for contributing.\n\n\n## Authors\n\n  * **Ramesh Sachan** - Vellore Institute of Technology\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n\n\n## Legal disclaimer:\n\n**Usage of [youtube-dl](http://ytdl.howtohack.xyz) for any illegal purpose is not promoted. It's the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program. Only use for educational purposes.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholps-7%2Fyoutube-dl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholps-7%2Fyoutube-dl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholps-7%2Fyoutube-dl/lists"}