A feature-rich command-line audio/video downloader
Changed repo name to yt-dlp
pukkandand9d045e2efee
diff --git a/.github/ISSUE_TEMPLATE/1_broken_site.md b/.github/ISSUE_TEMPLATE/1_broken_site.mdindex 481cda1184..33fa8b588c 100644--- a/.github/ISSUE_TEMPLATE/1_broken_site.md+++ b/.github/ISSUE_TEMPLATE/1_broken_site.md@@ -21,7 +21,7 @@ assignees: ''<!--Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dlc:-- First of, make sure you are using the latest version of youtube-dlc. Run `youtube-dlc --version` and ensure your version is 2021.01.10. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.+- First of, make sure you are using the latest version of yt-dlp. Run `youtube-dlc --version` and ensure your version is 2021.01.10. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.- Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in https://github.com/pukkandan/yt-dlc.- Search the bugtracker for similar issues: https://github.com/pukkandan/yt-dlc. DO NOT post duplicates.@@ -29,7 +29,7 @@ Carefully read and work through this check list in order to prevent the most com-->- [ ] I'm reporting a broken site support-- [ ] I've verified that I'm running youtube-dlc version **2021.01.10**+- [ ] I've verified that I'm running yt-dlp version **2021.01.10**- [ ] I've checked that all provided URLs are alive and playable in a browser- [ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped- [ ] I've searched the bugtracker for similar issues including closed ones@@ -44,7 +44,7 @@ Add the `-v` flag to your command line you run youtube-dlc with (`youtube-dlc -v[debug] User config: [][debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'][debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251- [debug] youtube-dlc version 2021.01.10+ [debug] yt-dlp version 2021.01.10[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4[debug] Proxy map: {}diff --git a/.github/ISSUE_TEMPLATE/2_site_support_request.md b/.github/ISSUE_TEMPLATE/2_site_support_request.mdindex 3585059c8c..ff27359afc 100644--- a/.github/ISSUE_TEMPLATE/2_site_support_request.md+++ b/.github/ISSUE_TEMPLATE/2_site_support_request.md@@ -21,15 +21,15 @@ assignees: ''<!--Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dlc:-- First of, make sure you are using the latest version of youtube-dlc. Run `youtube-dlc --version` and ensure your version is 2021.01.10. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.+- First of, make sure you are using the latest version of yt-dlp. Run `youtube-dlc --version` and ensure your version is 2021.01.10. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.-- Make sure that site you are requesting is not dedicated to copyright infringement, see https://github.com/pukkandan/yt-dlc. youtube-dlc does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.+- Make sure that site you are requesting is not dedicated to copyright infringement, see https://github.com/pukkandan/yt-dlc. yt-dlp does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.- Search the bugtracker for similar site support requests: https://github.com/pukkandan/yt-dlc. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->- [ ] I'm reporting a new site support request-- [ ] I've verified that I'm running youtube-dlc version **2021.01.10**+- [ ] I've verified that I'm running yt-dlp version **2021.01.10**- [ ] I've checked that all provided URLs are alive and playable in a browser- [ ] I've checked that none of provided URLs violate any copyrights- [ ] I've searched the bugtracker for similar site support requests including closed onesdiff --git a/.github/ISSUE_TEMPLATE/3_site_feature_request.md b/.github/ISSUE_TEMPLATE/3_site_feature_request.mdindex 6be10a0142..acc1117cfa 100644--- a/.github/ISSUE_TEMPLATE/3_site_feature_request.md+++ b/.github/ISSUE_TEMPLATE/3_site_feature_request.md@@ -21,13 +21,13 @@ assignees: ''<!--Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dlc:-- First of, make sure you are using the latest version of youtube-dlc. Run `youtube-dlc --version` and ensure your version is 2021.01.10. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.+- First of, make sure you are using the latest version of yt-dlp. Run `youtube-dlc --version` and ensure your version is 2021.01.10. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.- Search the bugtracker for similar site feature requests: https://github.com/pukkandan/yt-dlc. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->- [ ] I'm reporting a site feature request-- [ ] I've verified that I'm running youtube-dlc version **2021.01.10**+- [ ] I've verified that I'm running yt-dlp version **2021.01.10**- [ ] I've searched the bugtracker for similar site feature requests including closed onesdiff --git a/.github/ISSUE_TEMPLATE/4_bug_report.md b/.github/ISSUE_TEMPLATE/4_bug_report.mdindex 7c81425a5d..1b8234b2a8 100644--- a/.github/ISSUE_TEMPLATE/4_bug_report.md+++ b/.github/ISSUE_TEMPLATE/4_bug_report.md@@ -21,7 +21,7 @@ assignees: ''<!--Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dlc:-- First of, make sure you are using the latest version of youtube-dlc. Run `youtube-dlc --version` and ensure your version is 2021.01.10. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.+- First of, make sure you are using the latest version of yt-dlp. Run `youtube-dlc --version` and ensure your version is 2021.01.10. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.- Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in https://github.com/pukkandan/yt-dlc.- Search the bugtracker for similar issues: https://github.com/pukkandan/yt-dlc. DO NOT post duplicates.@@ -30,7 +30,7 @@ Carefully read and work through this check list in order to prevent the most com-->- [ ] I'm reporting a broken site support issue-- [ ] I've verified that I'm running youtube-dlc version **2021.01.10**+- [ ] I've verified that I'm running yt-dlp version **2021.01.10**- [ ] I've checked that all provided URLs are alive and playable in a browser- [ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped- [ ] I've searched the bugtracker for similar bug reports including closed ones@@ -46,7 +46,7 @@ Add the `-v` flag to your command line you run youtube-dlc with (`youtube-dlc -v[debug] User config: [][debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'][debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251- [debug] youtube-dlc version 2021.01.10+ [debug] yt-dlp version 2021.01.10[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4[debug] Proxy map: {}diff --git a/.github/ISSUE_TEMPLATE/5_feature_request.md b/.github/ISSUE_TEMPLATE/5_feature_request.mdindex 1ad1540d3d..c76ff6841f 100644--- a/.github/ISSUE_TEMPLATE/5_feature_request.md+++ b/.github/ISSUE_TEMPLATE/5_feature_request.md@@ -21,13 +21,13 @@ assignees: ''<!--Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dlc:-- First of, make sure you are using the latest version of youtube-dlc. Run `youtube-dlc --version` and ensure your version is 2021.01.10. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.+- First of, make sure you are using the latest version of yt-dlp. Run `youtube-dlc --version` and ensure your version is 2021.01.10. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.- Search the bugtracker for similar feature requests: https://github.com/pukkandan/yt-dlc. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->- [ ] I'm reporting a feature request-- [ ] I've verified that I'm running youtube-dlc version **2021.01.10**+- [ ] I've verified that I'm running yt-dlp version **2021.01.10**- [ ] I've searched the bugtracker for similar feature requests including closed onesdiff --git a/.github/ISSUE_TEMPLATE_tmpl/1_broken_site.md b/.github/ISSUE_TEMPLATE_tmpl/1_broken_site.mdindex 6df9124c38..db1d334dc6 100644--- a/.github/ISSUE_TEMPLATE_tmpl/1_broken_site.md+++ b/.github/ISSUE_TEMPLATE_tmpl/1_broken_site.md@@ -21,7 +21,7 @@ assignees: ''<!--Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dlc:-- First of, make sure you are using the latest version of youtube-dlc. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.+- First of, make sure you are using the latest version of yt-dlp. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.- Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in https://github.com/pukkandan/yt-dlc.- Search the bugtracker for similar issues: https://github.com/pukkandan/yt-dlc. DO NOT post duplicates.@@ -29,7 +29,7 @@ Carefully read and work through this check list in order to prevent the most com-->- [ ] I'm reporting a broken site support-- [ ] I've verified that I'm running youtube-dlc version **%(version)s**+- [ ] I've verified that I'm running yt-dlp version **%(version)s**- [ ] I've checked that all provided URLs are alive and playable in a browser- [ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped- [ ] I've searched the bugtracker for similar issues including closed ones@@ -44,7 +44,7 @@ Add the `-v` flag to your command line you run youtube-dlc with (`youtube-dlc -v[debug] User config: [][debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'][debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251- [debug] youtube-dlc version %(version)s+ [debug] yt-dlp version %(version)s[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4[debug] Proxy map: {}diff --git a/.github/ISSUE_TEMPLATE_tmpl/2_site_support_request.md b/.github/ISSUE_TEMPLATE_tmpl/2_site_support_request.mdindex 3844e02950..0f0326dc89 100644--- a/.github/ISSUE_TEMPLATE_tmpl/2_site_support_request.md+++ b/.github/ISSUE_TEMPLATE_tmpl/2_site_support_request.md@@ -21,15 +21,15 @@ assignees: ''<!--Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dlc:-- First of, make sure you are using the latest version of youtube-dlc. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.+- First of, make sure you are using the latest version of yt-dlp. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.-- Make sure that site you are requesting is not dedicated to copyright infringement, see https://github.com/pukkandan/yt-dlc. youtube-dlc does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.+- Make sure that site you are requesting is not dedicated to copyright infringement, see https://github.com/pukkandan/yt-dlc. yt-dlp does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.- Search the bugtracker for similar site support requests: https://github.com/pukkandan/yt-dlc. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->- [ ] I'm reporting a new site support request-- [ ] I've verified that I'm running youtube-dlc version **%(version)s**+- [ ] I've verified that I'm running yt-dlp version **%(version)s**- [ ] I've checked that all provided URLs are alive and playable in a browser- [ ] I've checked that none of provided URLs violate any copyrights- [ ] I've searched the bugtracker for similar site support requests including closed onesdiff --git a/.github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.md b/.github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.mdindex dff7547afd..885e1eb633 100644--- a/.github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.md+++ b/.github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.md@@ -21,13 +21,13 @@ assignees: ''<!--Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dlc:-- First of, make sure you are using the latest version of youtube-dlc. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.+- First of, make sure you are using the latest version of yt-dlp. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.- Search the bugtracker for similar site feature requests: https://github.com/pukkandan/yt-dlc. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->- [ ] I'm reporting a site feature request-- [ ] I've verified that I'm running youtube-dlc version **%(version)s**+- [ ] I've verified that I'm running yt-dlp version **%(version)s**- [ ] I've searched the bugtracker for similar site feature requests including closed onesdiff --git a/.github/ISSUE_TEMPLATE_tmpl/4_bug_report.md b/.github/ISSUE_TEMPLATE_tmpl/4_bug_report.mdindex 90439f3d98..485f80208d 100644--- a/.github/ISSUE_TEMPLATE_tmpl/4_bug_report.md+++ b/.github/ISSUE_TEMPLATE_tmpl/4_bug_report.md@@ -21,7 +21,7 @@ assignees: ''<!--Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dlc:-- First of, make sure you are using the latest version of youtube-dlc. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.+- First of, make sure you are using the latest version of yt-dlp. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.- Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in https://github.com/pukkandan/yt-dlc.- Search the bugtracker for similar issues: https://github.com/pukkandan/yt-dlc. DO NOT post duplicates.@@ -30,7 +30,7 @@ Carefully read and work through this check list in order to prevent the most com-->- [ ] I'm reporting a broken site support issue-- [ ] I've verified that I'm running youtube-dlc version **%(version)s**+- [ ] I've verified that I'm running yt-dlp version **%(version)s**- [ ] I've checked that all provided URLs are alive and playable in a browser- [ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped- [ ] I've searched the bugtracker for similar bug reports including closed ones@@ -46,7 +46,7 @@ Add the `-v` flag to your command line you run youtube-dlc with (`youtube-dlc -v[debug] User config: [][debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'][debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251- [debug] youtube-dlc version %(version)s+ [debug] yt-dlp version %(version)s[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4[debug] Proxy map: {}diff --git a/.github/ISSUE_TEMPLATE_tmpl/5_feature_request.md b/.github/ISSUE_TEMPLATE_tmpl/5_feature_request.mdindex 50bbf6091e..fe4ac999ac 100644--- a/.github/ISSUE_TEMPLATE_tmpl/5_feature_request.md+++ b/.github/ISSUE_TEMPLATE_tmpl/5_feature_request.md@@ -21,13 +21,13 @@ assignees: ''<!--Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dlc:-- First of, make sure you are using the latest version of youtube-dlc. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.+- First of, make sure you are using the latest version of yt-dlp. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlc on how to update. Issues with outdated version will be REJECTED.- Search the bugtracker for similar feature requests: https://github.com/pukkandan/yt-dlc. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->- [ ] I'm reporting a feature request-- [ ] I've verified that I'm running youtube-dlc version **%(version)s**+- [ ] I've verified that I'm running yt-dlp version **%(version)s**- [ ] I've searched the bugtracker for similar feature requests including closed onesdiff --git a/README.md b/README.mdindex 2c0b85ae0d..e4f2dcf498 100644--- a/README.md+++ b/README.md@@ -1,10 +1,12 @@+# YT-DLP+<!-- See: https://github.com/marketplace/actions/dynamic-badges -->[](https://github.com/pukkandan/yt-dlc/releases/latest)[](https://github.com/pukkandan/yt-dlc/blob/master/LICENSE)[](https://github.com/pukkandan/yt-dlc/actions?query=workflow%3ACore)[](https://github.com/pukkandan/yt-dlc/actions?query=workflow%3AFull)-youtube-dlc - download videos from youtube.com and many other [video platforms](docs/supportedsites.md)+A command-line program to download videos from youtube.com and many other [video platforms](docs/supportedsites.md)This is a fork of [youtube-dlc](https://github.com/blackjack4494/yt-dlc) which is inturn a fork of [youtube-dl](https://github.com/ytdl-org/youtube-dl)diff --git a/youtube_dlc/YoutubeDL.py b/youtube_dlc/YoutubeDL.pyindex 72c05339bc..2d3eacfebd 100644--- a/youtube_dlc/YoutubeDL.py+++ b/youtube_dlc/YoutubeDL.py@@ -2532,7 +2532,7 @@ class YoutubeDL(object):self.get_encoding()))write_string(encoding_str, encoding=None)- self._write_string('[debug] youtube-dlc version ' + __version__ + '\n')+ self._write_string('[debug] yt-dlp version ' + __version__ + '\n')if _LAZY_LOADER:self._write_string('[debug] Lazy loading extractors enabled' + '\n')try: