A feature-rich command-line audio/video downloader
Completely change project name to yt-dlp (#85)
Pccode667a5c1cfe9392
diff --git a/.github/ISSUE_TEMPLATE/1_broken_site.md b/.github/ISSUE_TEMPLATE/1_broken_site.mdindex 3dbc8b43e8..4966cbe649 100644--- a/.github/ISSUE_TEMPLATE/1_broken_site.md+++ b/.github/ISSUE_TEMPLATE/1_broken_site.md@@ -20,11 +20,11 @@ assignees: ''## Checklist<!---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 yt-dlp. Run `youtube-dlc --version` and ensure your version is 2021.02.19. If it's not, see https://github.com/pukkandan/yt-dlp on how to update. Issues with outdated version will be REJECTED.+Carefully read and work through this check list in order to prevent the most common mistakes and misuse of yt-dlp:+- First of, make sure you are using the latest version of yt-dlp. Run `yt-dlp --version` and ensure your version is 2021.02.19. If it's not, see https://github.com/yt-dlp/yt-dlp 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-dlp.-- Search the bugtracker for similar issues: https://github.com/pukkandan/yt-dlp. DO NOT post duplicates.+- Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in https://github.com/yt-dlp/yt-dlp.+- Search the bugtracker for similar issues: https://github.com/yt-dlp/yt-dlp. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->@@ -38,8 +38,8 @@ Carefully read and work through this check list in order to prevent the most com## Verbose log<!---Provide the complete verbose output of youtube-dlc that clearly demonstrates the problem.-Add the `-v` flag to your command line you run youtube-dlc with (`youtube-dlc -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this:+Provide the complete verbose output of yt-dlp that clearly demonstrates the problem.+Add the `-v` flag to your command line you run yt-dlp with (`yt-dlp -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this:[debug] System config: [][debug] User config: [][debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']diff --git a/.github/ISSUE_TEMPLATE/2_site_support_request.md b/.github/ISSUE_TEMPLATE/2_site_support_request.mdindex 2bc2d69765..c64dc1ee22 100644--- a/.github/ISSUE_TEMPLATE/2_site_support_request.md+++ b/.github/ISSUE_TEMPLATE/2_site_support_request.md@@ -20,11 +20,11 @@ assignees: ''## Checklist<!---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 yt-dlp. Run `youtube-dlc --version` and ensure your version is 2021.02.19. If it's not, see https://github.com/pukkandan/yt-dlp on how to update. Issues with outdated version will be REJECTED.+Carefully read and work through this check list in order to prevent the most common mistakes and misuse of yt-dlp:+- First of, make sure you are using the latest version of yt-dlp. Run `yt-dlp --version` and ensure your version is 2021.02.19. If it's not, see https://github.com/yt-dlp/yt-dlp 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-dlp. 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-dlp. DO NOT post duplicates.+- Make sure that site you are requesting is not dedicated to copyright infringement, see https://github.com/yt-dlp/yt-dlp. 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/yt-dlp/yt-dlp. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->diff --git a/.github/ISSUE_TEMPLATE/3_site_feature_request.md b/.github/ISSUE_TEMPLATE/3_site_feature_request.mdindex 651d275148..19bdafce64 100644--- a/.github/ISSUE_TEMPLATE/3_site_feature_request.md+++ b/.github/ISSUE_TEMPLATE/3_site_feature_request.md@@ -20,9 +20,9 @@ assignees: ''## Checklist<!---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 yt-dlp. Run `youtube-dlc --version` and ensure your version is 2021.02.19. If it's not, see https://github.com/pukkandan/yt-dlp on how to update. Issues with outdated version will be REJECTED.-- Search the bugtracker for similar site feature requests: https://github.com/pukkandan/yt-dlp. DO NOT post duplicates.+Carefully read and work through this check list in order to prevent the most common mistakes and misuse of yt-dlp:+- First of, make sure you are using the latest version of yt-dlp. Run `yt-dlp --version` and ensure your version is 2021.02.19. If it's not, see https://github.com/yt-dlp/yt-dlp on how to update. Issues with outdated version will be REJECTED.+- Search the bugtracker for similar site feature requests: https://github.com/yt-dlp/yt-dlp. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->diff --git a/.github/ISSUE_TEMPLATE/4_bug_report.md b/.github/ISSUE_TEMPLATE/4_bug_report.mdindex 3c8858def7..e7d7c919ef 100644--- a/.github/ISSUE_TEMPLATE/4_bug_report.md+++ b/.github/ISSUE_TEMPLATE/4_bug_report.md@@ -20,12 +20,12 @@ assignees: ''## Checklist<!---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 yt-dlp. Run `youtube-dlc --version` and ensure your version is 2021.02.19. If it's not, see https://github.com/pukkandan/yt-dlp on how to update. Issues with outdated version will be REJECTED.+Carefully read and work through this check list in order to prevent the most common mistakes and misuse of yt-dlp:+- First of, make sure you are using the latest version of yt-dlp. Run `yt-dlp --version` and ensure your version is 2021.02.19. If it's not, see https://github.com/yt-dlp/yt-dlp 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-dlp.-- Search the bugtracker for similar issues: https://github.com/pukkandan/yt-dlp. DO NOT post duplicates.-- Read bugs section in FAQ: https://github.com/pukkandan/yt-dlp+- Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in https://github.com/yt-dlp/yt-dlp.+- Search the bugtracker for similar issues: https://github.com/yt-dlp/yt-dlp. DO NOT post duplicates.+- Read bugs section in FAQ: https://github.com/yt-dlp/yt-dlp- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->@@ -40,8 +40,8 @@ Carefully read and work through this check list in order to prevent the most com## Verbose log<!---Provide the complete verbose output of youtube-dlc that clearly demonstrates the problem.-Add the `-v` flag to your command line you run youtube-dlc with (`youtube-dlc -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this:+Provide the complete verbose output of yt-dlp that clearly demonstrates the problem.+Add the `-v` flag to your command line you run yt-dlp with (`yt-dlp -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this:[debug] System config: [][debug] User config: [][debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']diff --git a/.github/ISSUE_TEMPLATE/5_feature_request.md b/.github/ISSUE_TEMPLATE/5_feature_request.mdindex 85196e3aa3..3a8974b4c3 100644--- a/.github/ISSUE_TEMPLATE/5_feature_request.md+++ b/.github/ISSUE_TEMPLATE/5_feature_request.md@@ -20,9 +20,9 @@ assignees: ''## Checklist<!---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 yt-dlp. Run `youtube-dlc --version` and ensure your version is 2021.02.19. If it's not, see https://github.com/pukkandan/yt-dlp on how to update. Issues with outdated version will be REJECTED.-- Search the bugtracker for similar feature requests: https://github.com/pukkandan/yt-dlp. DO NOT post duplicates.+Carefully read and work through this check list in order to prevent the most common mistakes and misuse of yt-dlp:+- First of, make sure you are using the latest version of yt-dlp. Run `yt-dlp --version` and ensure your version is 2021.02.19. If it's not, see https://github.com/yt-dlp/yt-dlp on how to update. Issues with outdated version will be REJECTED.+- Search the bugtracker for similar feature requests: https://github.com/yt-dlp/yt-dlp. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->diff --git a/.github/ISSUE_TEMPLATE/6_question.md b/.github/ISSUE_TEMPLATE/6_question.mdindex da82dcd2c7..dd2857c092 100644--- a/.github/ISSUE_TEMPLATE/6_question.md+++ b/.github/ISSUE_TEMPLATE/6_question.md@@ -20,9 +20,9 @@ assignees: ''## Checklist<!---Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dlc:-- Look through the README (https://github.com/pukkandan/yt-dlp) and FAQ (https://github.com/pukkandan/yt-dlp) for similar questions-- Search the bugtracker for similar questions: https://github.com/blackjack4494/yt-dlc+Carefully read and work through this check list in order to prevent the most common mistakes and misuse of yt-dlp:+- Look through the README (https://github.com/yt-dlp/yt-dlp) and FAQ (https://github.com/yt-dlp/yt-dlp) for similar questions+- Search the bugtracker for similar questions: https://github.com/yt-dlp/yt-dlp- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->@@ -34,7 +34,7 @@ Carefully read and work through this check list in order to prevent the most com## Question<!---Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/blackjack4494/yt-dlc.+Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/yt-dlp/yt-dlp.-->WRITE QUESTION HEREdiff --git a/.github/ISSUE_TEMPLATE_tmpl/1_broken_site.md b/.github/ISSUE_TEMPLATE_tmpl/1_broken_site.mdindex 563011ec11..9d346d1622 100644--- a/.github/ISSUE_TEMPLATE_tmpl/1_broken_site.md+++ b/.github/ISSUE_TEMPLATE_tmpl/1_broken_site.md@@ -20,11 +20,11 @@ assignees: ''## Checklist<!---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 yt-dlp. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlp on how to update. Issues with outdated version will be REJECTED.+Carefully read and work through this check list in order to prevent the most common mistakes and misuse of yt-dlp:+- First of, make sure you are using the latest version of yt-dlp. Run `yt-dlp --version` and ensure your version is %(version)s. If it's not, see https://github.com/yt-dlp/yt-dlp 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-dlp.-- Search the bugtracker for similar issues: https://github.com/pukkandan/yt-dlp. DO NOT post duplicates.+- Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in https://github.com/yt-dlp/yt-dlp.+- Search the bugtracker for similar issues: https://github.com/yt-dlp/yt-dlp. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->@@ -38,8 +38,8 @@ Carefully read and work through this check list in order to prevent the most com## Verbose log<!---Provide the complete verbose output of youtube-dlc that clearly demonstrates the problem.-Add the `-v` flag to your command line you run youtube-dlc with (`youtube-dlc -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this:+Provide the complete verbose output of yt-dlp that clearly demonstrates the problem.+Add the `-v` flag to your command line you run yt-dlp with (`yt-dlp -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this:[debug] System config: [][debug] User config: [][debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']diff --git a/.github/ISSUE_TEMPLATE_tmpl/2_site_support_request.md b/.github/ISSUE_TEMPLATE_tmpl/2_site_support_request.mdindex 79be45ac95..9e7eb5a201 100644--- a/.github/ISSUE_TEMPLATE_tmpl/2_site_support_request.md+++ b/.github/ISSUE_TEMPLATE_tmpl/2_site_support_request.md@@ -20,11 +20,11 @@ assignees: ''## Checklist<!---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 yt-dlp. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlp on how to update. Issues with outdated version will be REJECTED.+Carefully read and work through this check list in order to prevent the most common mistakes and misuse of yt-dlp:+- First of, make sure you are using the latest version of yt-dlp. Run `yt-dlp --version` and ensure your version is %(version)s. If it's not, see https://github.com/yt-dlp/yt-dlp 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-dlp. 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-dlp. DO NOT post duplicates.+- Make sure that site you are requesting is not dedicated to copyright infringement, see https://github.com/yt-dlp/yt-dlp. 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/yt-dlp/yt-dlp. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->diff --git a/.github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.md b/.github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.mdindex 8e8c61321f..d74b6e279f 100644--- a/.github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.md+++ b/.github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.md@@ -20,9 +20,9 @@ assignees: ''## Checklist<!---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 yt-dlp. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlp on how to update. Issues with outdated version will be REJECTED.-- Search the bugtracker for similar site feature requests: https://github.com/pukkandan/yt-dlp. DO NOT post duplicates.+Carefully read and work through this check list in order to prevent the most common mistakes and misuse of yt-dlp:+- First of, make sure you are using the latest version of yt-dlp. Run `yt-dlp --version` and ensure your version is %(version)s. If it's not, see https://github.com/yt-dlp/yt-dlp on how to update. Issues with outdated version will be REJECTED.+- Search the bugtracker for similar site feature requests: https://github.com/yt-dlp/yt-dlp. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->diff --git a/.github/ISSUE_TEMPLATE_tmpl/4_bug_report.md b/.github/ISSUE_TEMPLATE_tmpl/4_bug_report.mdindex e029bc064b..043489941d 100644--- a/.github/ISSUE_TEMPLATE_tmpl/4_bug_report.md+++ b/.github/ISSUE_TEMPLATE_tmpl/4_bug_report.md@@ -20,12 +20,12 @@ assignees: ''## Checklist<!---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 yt-dlp. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlp on how to update. Issues with outdated version will be REJECTED.+Carefully read and work through this check list in order to prevent the most common mistakes and misuse of yt-dlp:+- First of, make sure you are using the latest version of yt-dlp. Run `yt-dlp --version` and ensure your version is %(version)s. If it's not, see https://github.com/yt-dlp/yt-dlp 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-dlp.-- Search the bugtracker for similar issues: https://github.com/pukkandan/yt-dlp. DO NOT post duplicates.-- Read bugs section in FAQ: https://github.com/pukkandan/yt-dlp+- Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in https://github.com/yt-dlp/yt-dlp.+- Search the bugtracker for similar issues: https://github.com/yt-dlp/yt-dlp. DO NOT post duplicates.+- Read bugs section in FAQ: https://github.com/yt-dlp/yt-dlp- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->@@ -40,8 +40,8 @@ Carefully read and work through this check list in order to prevent the most com## Verbose log<!---Provide the complete verbose output of youtube-dlc that clearly demonstrates the problem.-Add the `-v` flag to your command line you run youtube-dlc with (`youtube-dlc -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this:+Provide the complete verbose output of yt-dlp that clearly demonstrates the problem.+Add the `-v` flag to your command line you run yt-dlp with (`yt-dlp -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this:[debug] System config: [][debug] User config: [][debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']diff --git a/.github/ISSUE_TEMPLATE_tmpl/5_feature_request.md b/.github/ISSUE_TEMPLATE_tmpl/5_feature_request.mdindex fb3809c031..4a0209db1b 100644--- a/.github/ISSUE_TEMPLATE_tmpl/5_feature_request.md+++ b/.github/ISSUE_TEMPLATE_tmpl/5_feature_request.md@@ -20,9 +20,9 @@ assignees: ''## Checklist<!---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 yt-dlp. Run `youtube-dlc --version` and ensure your version is %(version)s. If it's not, see https://github.com/pukkandan/yt-dlp on how to update. Issues with outdated version will be REJECTED.-- Search the bugtracker for similar feature requests: https://github.com/pukkandan/yt-dlp. DO NOT post duplicates.+Carefully read and work through this check list in order to prevent the most common mistakes and misuse of yt-dlp:+- First of, make sure you are using the latest version of yt-dlp. Run `yt-dlp --version` and ensure your version is %(version)s. If it's not, see https://github.com/yt-dlp/yt-dlp on how to update. Issues with outdated version will be REJECTED.+- Search the bugtracker for similar feature requests: https://github.com/yt-dlp/yt-dlp. DO NOT post duplicates.- Finally, put x into all relevant boxes like this [x] (Dont forget to delete the empty space)-->diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.mdindex eb30253eed..f711701cb6 100644--- a/.github/PULL_REQUEST_TEMPLATE.md+++ b/.github/PULL_REQUEST_TEMPLATE.md@@ -8,7 +8,7 @@### Before submitting a *pull request* make sure you have:- [ ] At least skimmed through [adding new extractor tutorial](https://github.com/ytdl-org/youtube-dl#adding-support-for-a-new-site) and [youtube-dl coding conventions](https://github.com/ytdl-org/youtube-dl#youtube-dl-coding-conventions) sections-- [ ] [Searched](https://github.com/pukkandan/yt-dlp/search?q=is%3Apr&type=Issues) the bugtracker for similar pull requests+- [ ] [Searched](https://github.com/yt-dlp/yt-dlp/search?q=is%3Apr&type=Issues) the bugtracker for similar pull requests- [ ] Checked the code with [flake8](https://pypi.python.org/pypi/flake8)### In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under [Unlicense](http://unlicense.org/). Check one of the following options:diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 58a72c9e51..48dfbafd32 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -11,7 +11,7 @@ jobs:runs-on: ubuntu-latestoutputs:- ytdlc_version: ${{ steps.bump_version.outputs.ytdlc_version }}+ ytdlp_version: ${{ steps.bump_version.outputs.ytdlp_version }}upload_url: ${{ steps.create_release.outputs.upload_url }}sha2_unix: ${{ steps.sha2_file.outputs.sha2_unix }}@@ -27,7 +27,7 @@ jobs:id: bump_versionrun: python devscripts/update-version.py- name: Print version- run: echo "${{ steps.bump_version.outputs.ytdlc_version }}"+ run: echo "${{ steps.bump_version.outputs.ytdlp_version }}"- name: Run Makerun: make- name: Create Release@@ -36,26 +36,26 @@ jobs:env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:- tag_name: ${{ steps.bump_version.outputs.ytdlc_version }}- release_name: yt-dlp ${{ steps.bump_version.outputs.ytdlc_version }}+ tag_name: ${{ steps.bump_version.outputs.ytdlp_version }}+ release_name: yt-dlp ${{ steps.bump_version.outputs.ytdlp_version }}body: |Changelog:PLACEHOLDERdraft: falseprerelease: false- - name: Upload youtube-dlc Unix binary+ - name: Upload yt-dlp Unix binaryid: upload-release-assetuses: actions/upload-release-asset@v1env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:upload_url: ${{ steps.create_release.outputs.upload_url }}- asset_path: ./youtube-dlc- asset_name: youtube-dlc+ asset_path: ./yt-dlp+ asset_name: yt-dlpasset_content_type: application/octet-stream- - name: Get SHA2-256SUMS for youtube-dlc+ - name: Get SHA2-256SUMS for yt-dlpid: sha2_file- run: echo "::set-output name=sha2_unix::$(sha256sum youtube-dlc | awk '{print $1}')"+ run: echo "::set-output name=sha2_unix::$(sha256sum yt-dlp | awk '{print $1}')"- name: Install dependencies for pypienv:PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}@@ -96,22 +96,22 @@ jobs:id: bump_versionrun: python devscripts/update-version.py- name: Print version- run: echo "${{ steps.bump_version.outputs.ytdlc_version }}"+ run: echo "${{ steps.bump_version.outputs.ytdlp_version }}"- name: Run PyInstaller Scriptrun: python pyinst.py 64- - name: Upload youtube-dlc.exe Windows binary+ - name: Upload yt-dlp.exe Windows binaryid: upload-release-windowsuses: actions/upload-release-asset@v1env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:upload_url: ${{ needs.build_unix.outputs.upload_url }}- asset_path: ./dist/youtube-dlc.exe- asset_name: youtube-dlc.exe+ asset_path: ./dist/yt-dlp.exe+ asset_name: yt-dlp.exeasset_content_type: application/vnd.microsoft.portable-executable- - name: Get SHA2-256SUMS for youtube-dlc.exe+ - name: Get SHA2-256SUMS for yt-dlp.exeid: sha2_file_win- run: echo "::set-output name=sha2_windows::$((Get-FileHash dist\youtube-dlc.exe -Algorithm SHA256).Hash.ToLower())"+ run: echo "::set-output name=sha2_windows::$((Get-FileHash dist\yt-dlp.exe -Algorithm SHA256).Hash.ToLower())"build_windows32:@@ -137,33 +137,33 @@ jobs:id: bump_versionrun: python devscripts/update-version.py- name: Print version- run: echo "${{ steps.bump_version.outputs.ytdlc_version }}"+ run: echo "${{ steps.bump_version.outputs.ytdlp_version }}"- name: Run PyInstaller Script for 32 Bitrun: python pyinst.py 32- - name: Upload Executable youtube-dlc_x86.exe+ - name: Upload Executable yt-dlp_x86.exeid: upload-release-windows32uses: actions/upload-release-asset@v1env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:upload_url: ${{ needs.build_unix.outputs.upload_url }}- asset_path: ./dist/youtube-dlc_x86.exe- asset_name: youtube-dlc_x86.exe+ asset_path: ./dist/yt-dlp_x86.exe+ asset_name: yt-dlp_x86.exeasset_content_type: application/vnd.microsoft.portable-executable- - name: Get SHA2-256SUMS for youtube-dlc_x86.exe+ - name: Get SHA2-256SUMS for yt-dlp_x86.exeid: sha2_file_win32- run: echo "::set-output name=sha2_windows32::$((Get-FileHash dist\youtube-dlc_x86.exe -Algorithm SHA256).Hash.ToLower())"+ run: echo "::set-output name=sha2_windows32::$((Get-FileHash dist\yt-dlp_x86.exe -Algorithm SHA256).Hash.ToLower())"- name: Make SHA2-256SUMS fileenv:SHA2_WINDOWS: ${{ needs.build_windows.outputs.sha2_windows }}SHA2_WINDOWS32: ${{ steps.sha2_file_win32.outputs.sha2_windows32 }}SHA2_UNIX: ${{ needs.build_unix.outputs.sha2_unix }}- YTDLC_VERSION: ${{ needs.build_unix.outputs.ytdlc_version }}+ YTDLP_VERSION: ${{ needs.build_unix.outputs.ytdlp_version }}run: |- echo "version:${env:YTDLC_VERSION}" >> SHA2-256SUMS- echo "youtube-dlc.exe:${env:SHA2_WINDOWS}" >> SHA2-256SUMS- echo "youtube-dlc_x86.exe:${env:SHA2_WINDOWS32}" >> SHA2-256SUMS- echo "youtube-dlc:${env:SHA2_UNIX}" >> SHA2-256SUMS+ echo "version:${env:YTDLP_VERSION}" >> SHA2-256SUMS+ echo "yt-dlp.exe:${env:SHA2_WINDOWS}" >> SHA2-256SUMS+ echo "yt-dlp_x86.exe:${env:SHA2_WINDOWS32}" >> SHA2-256SUMS+ echo "yt-dlp:${env:SHA2_UNIX}" >> SHA2-256SUMS- name: Upload 256SUMS fileid: upload-sumsdiff --git a/.gitignore b/.gitignoreindex 3d53934327..de401472f9 100644--- a/.gitignore+++ b/.gitignore@@ -36,7 +36,7 @@ README.txt# Binaryyoutube-dlyoutube-dlc-youtube-dlc.zip+yt-dlp.zip*.exe# Downloaded@@ -82,9 +82,7 @@ cookies.txt.idea*.iml.vscode-*.sublime-workspace-*.sublime-project-!yt-dlp.sublime-project+*.sublime-*# Lazy extractors*/extractor/lazy_extractors.py@@ -92,4 +90,4 @@ cookies.txt# Pluginsytdlp_plugins/extractor/*!ytdlp_plugins/extractor/__init__.py-!ytdlp_plugins/extractor/sample.py\ No newline at end of file+!ytdlp_plugins/extractor/sample.pydiff --git a/Changelog.md b/Changelog.mdindex 9114f4cd22..51da29c60c 100644--- a/Changelog.md+++ b/Changelog.md@@ -141,12 +141,12 @@### 2021.01.24* **Merge youtube-dl:** Upto [2021.01.24](https://github.com/ytdl-org/youtube-dl/releases/tag/2021.01.16)-* Plugin support ([documentation](https://github.com/pukkandan/yt-dlp#plugins))+* Plugin support ([documentation](https://github.com/yt-dlp/yt-dlp#plugins))* **Multiple paths**: New option `-P`/`--paths` to give different paths for different types of files- * The syntax is `-P "type:path" -P "type:path"` ([documentation](https://github.com/pukkandan/yt-dlp#:~:text=-P,%20--paths%20TYPE:PATH))+ * The syntax is `-P "type:path" -P "type:path"` ([documentation](https://github.com/yt-dlp/yt-dlp#:~:text=-P,%20--paths%20TYPE:PATH))* Valid types are: home, temp, description, annotation, subtitle, infojson, thumbnail- * Additionally, configuration file is taken from home directory or current directory ([documentation](https://github.com/pukkandan/yt-dlp#:~:text=Home%20Configuration))-* Allow passing different arguments to different external downloaders ([documentation](https://github.com/pukkandan/yt-dlp#:~:text=--downloader-args%20NAME:ARGS))+ * Additionally, configuration file is taken from home directory or current directory ([documentation](https://github.com/yt-dlp/yt-dlp#:~:text=Home%20Configuration))+* Allow passing different arguments to different external downloaders ([documentation](https://github.com/yt-dlp/yt-dlp#:~:text=--downloader-args%20NAME:ARGS))* [mildom] Add extractor by [nao20010128nao](https://github.com/nao20010128nao)* Warn when using old style `--external-downloader-args` and `--post-processor-args`* Fix `--no-overwrite` when using `--write-link`@@ -172,7 +172,7 @@* **Merge youtube-dl:** Upto [2021.01.16](https://github.com/ytdl-org/youtube-dl/releases/tag/2021.01.16)* **Configuration files:*** Portable configuration file: `./yt-dlp.conf`- * Allow the configuration files to be named `yt-dlp` instead of `youtube-dlc`. See [this](https://github.com/pukkandan/yt-dlp#configuration) for details+ * Allow the configuration files to be named `yt-dlp` instead of `youtube-dlc`. See [this](https://github.com/yt-dlp/yt-dlp#configuration) for details* Add PyPI release@@ -181,7 +181,7 @@* [roosterteeth.com] Fix for bonus episodes by [Zocker1999NET](https://github.com/Zocker1999NET)* [tiktok] Fix for when share_info is empty* [EmbedThumbnail] Fix bug due to incorrect function name-* [documentation] Changed sponskrub links to point to [pukkandan/sponskrub](https://github.com/pukkandan/SponSkrub) since I am now providing both linux and windows releases+* [documentation] Changed sponskrub links to point to [yt-dlp/SponSkrub](https://github.com/yt-dlp/SponSkrub) since I am now providing both linux and windows releases* [documentation] Change all links to correctly point to new fork URL* [documentation] Fixes typosdiff --git a/MANIFEST.in b/MANIFEST.inindex d2cce9a1cc..480b5c7006 100644--- a/MANIFEST.in+++ b/MANIFEST.in@@ -2,8 +2,8 @@ include README.mdinclude LICENSEinclude AUTHORSinclude ChangeLog-include youtube-dlc.bash-completion-include youtube-dlc.fish-include youtube-dlc.1+include yt-dlp.bash-completion+include yt-dlp.fish+include yt-dlp.1recursive-include docs Makefile conf.py *.rstrecursive-include test *diff --git a/Makefile b/Makefileindex f5390c46db..b27f6e6958 100644--- a/Makefile+++ b/Makefile@@ -1,10 +1,10 @@-all: youtube-dlc doc man+all: yt-dlp doc mandoc: README.md CONTRIBUTING.md issuetemplates supportedsites-man: README.txt youtube-dlc.1 youtube-dlc.bash-completion youtube-dlc.zsh youtube-dlc.fish+man: README.txt yt-dlp.1 yt-dlp.bash-completion yt-dlp.zsh yt-dlp.fishclean:- rm -rf youtube-dlc.1.temp.md youtube-dlc.1 youtube-dlc.bash-completion README.txt MANIFEST build/ dist/ .coverage cover/ youtube-dlc.tar.gz youtube-dlc.zsh youtube-dlc.fish youtube_dlc/extractor/lazy_extractors.py *.dump *.part* *.ytdl *.info.json *.mp4 *.m4a *.flv *.mp3 *.avi *.mkv *.webm *.3gp *.wav *.ape *.swf *.jpg *.png *.spec *.frag *.frag.urls *.frag.aria2 CONTRIBUTING.md.tmp youtube-dlc youtube-dlc.exe+ rm -rf yt-dlp.1.temp.md yt-dlp.1 yt-dlp.bash-completion README.txt MANIFEST build/ dist/ .coverage cover/ yt-dlp.tar.gz yt-dlp.zsh yt-dlp.fish yt_dlp/extractor/lazy_extractors.py *.dump *.part* *.ytdl *.info.json *.mp4 *.m4a *.flv *.mp3 *.avi *.mkv *.webm *.3gp *.wav *.ape *.swf *.jpg *.png *.spec *.frag *.frag.urls *.frag.aria2 CONTRIBUTING.md.tmp yt-dlp yt-dlp.exefind . -name "*.pyc" -deletefind . -name "*.class" -delete@@ -21,23 +21,23 @@ SYSCONFDIR = $(shell if [ $(PREFIX) = /usr -o $(PREFIX) = /usr/local ]; then ech# set markdown input format to "markdown-smart" for pandoc version 2 and to "markdown" for pandoc prior to version 2MARKDOWN = $(shell if [ `pandoc -v | head -n1 | cut -d" " -f2 | head -c1` = "2" ]; then echo markdown-smart; else echo markdown; fi)-install: youtube-dlc youtube-dlc.1 youtube-dlc.bash-completion youtube-dlc.zsh youtube-dlc.fish+install: yt-dlp yt-dlp.1 yt-dlp.bash-completion yt-dlp.zsh yt-dlp.fishinstall -d $(DESTDIR)$(BINDIR)- install -m 755 youtube-dlc $(DESTDIR)$(BINDIR)+ install -m 755 yt-dlp $(DESTDIR)$(BINDIR)install -d $(DESTDIR)$(MANDIR)/man1- install -m 644 youtube-dlc.1 $(DESTDIR)$(MANDIR)/man1+ install -m 644 yt-dlp.1 $(DESTDIR)$(MANDIR)/man1install -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d- install -m 644 youtube-dlc.bash-completion $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/youtube-dlc+ install -m 644 yt-dlp.bash-completion $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/yt-dlpinstall -d $(DESTDIR)$(SHAREDIR)/zsh/site-functions- install -m 644 youtube-dlc.zsh $(DESTDIR)$(SHAREDIR)/zsh/site-functions/_youtube-dlc+ install -m 644 yt-dlp.zsh $(DESTDIR)$(SHAREDIR)/zsh/site-functions/_yt-dlpinstall -d $(DESTDIR)$(SYSCONFDIR)/fish/completions- install -m 644 youtube-dlc.fish $(DESTDIR)$(SYSCONFDIR)/fish/completions/youtube-dlc.fish+ install -m 644 yt-dlp.fish $(DESTDIR)$(SYSCONFDIR)/fish/completions/yt-dlp.fishcodetest:flake8 .test:- #nosetests --with-coverage --cover-package=youtube_dlc --cover-html --verbose --processes 4 test+ #nosetests --with-coverage --cover-package=yt_dlp --cover-html --verbose --processes 4 testnosetests --verbose test$(MAKE) codetest@@ -57,34 +57,34 @@ offlinetest: codetest--exclude test_youtube_signature.py \--exclude test_post_hooks.py-tar: youtube-dlc.tar.gz+tar: yt-dlp.tar.gz.PHONY: all clean install test tar bash-completion pypi-files zsh-completion fish-completion ot offlinetest codetest supportedsites-pypi-files: youtube-dlc.bash-completion README.txt youtube-dlc.1 youtube-dlc.fish+pypi-files: yt-dlp.bash-completion README.txt yt-dlp.1 yt-dlp.fish-youtube-dlc: youtube_dlc/*.py youtube_dlc/*/*.py+yt-dlp: yt_dlp/*.py yt_dlp/*/*.pymkdir -p zip- for d in youtube_dlc youtube_dlc/downloader youtube_dlc/extractor youtube_dlc/postprocessor ; do \+ for d in yt_dlp yt_dlp/downloader yt_dlp/extractor yt_dlp/postprocessor ; do \mkdir -p zip/$$d ;\cp -pPR $$d/*.py zip/$$d/ ;\done- touch -t 200001010101 zip/youtube_dlc/*.py zip/youtube_dlc/*/*.py- mv zip/youtube_dlc/__main__.py zip/- cd zip ; zip -q ../youtube-dlc youtube_dlc/*.py youtube_dlc/*/*.py __main__.py+ touch -t 200001010101 zip/yt_dlp/*.py zip/yt_dlp/*/*.py+ mv zip/yt_dlp/__main__.py zip/+ cd zip ; zip -q ../yt-dlp yt_dlp/*.py yt_dlp/*/*.py __main__.pyrm -rf zip- echo '#!$(PYTHON)' > youtube-dlc- cat youtube-dlc.zip >> youtube-dlc- rm youtube-dlc.zip- chmod a+x youtube-dlc+ echo '#!$(PYTHON)' > yt-dlp+ cat yt-dlp.zip >> yt-dlp+ rm yt-dlp.zip+ chmod a+x yt-dlp-README.md: youtube_dlc/*.py youtube_dlc/*/*.py- COLUMNS=80 $(PYTHON) youtube_dlc/__main__.py --help | $(PYTHON) devscripts/make_readme.py+README.md: yt_dlp/*.py yt_dlp/*/*.py+ COLUMNS=80 $(PYTHON) yt_dlp/__main__.py --help | $(PYTHON) devscripts/make_readme.pyCONTRIBUTING.md: README.md$(PYTHON) devscripts/make_contributing.py README.md CONTRIBUTING.md-issuetemplates: devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/1_broken_site.md .github/ISSUE_TEMPLATE_tmpl/2_site_support_request.md .github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.md .github/ISSUE_TEMPLATE_tmpl/4_bug_report.md .github/ISSUE_TEMPLATE_tmpl/5_feature_request.md youtube_dlc/version.py+issuetemplates: devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/1_broken_site.md .github/ISSUE_TEMPLATE_tmpl/2_site_support_request.md .github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.md .github/ISSUE_TEMPLATE_tmpl/4_bug_report.md .github/ISSUE_TEMPLATE_tmpl/5_feature_request.md yt_dlp/version.py$(PYTHON) devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/1_broken_site.md .github/ISSUE_TEMPLATE/1_broken_site.md$(PYTHON) devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/2_site_support_request.md .github/ISSUE_TEMPLATE/2_site_support_request.md$(PYTHON) devscripts/make_issue_template.py .github/ISSUE_TEMPLATE_tmpl/3_site_feature_request.md .github/ISSUE_TEMPLATE/3_site_feature_request.md@@ -97,34 +97,34 @@ supportedsites:README.txt: README.mdpandoc -f $(MARKDOWN) -t plain README.md -o README.txt-youtube-dlc.1: README.md- $(PYTHON) devscripts/prepare_manpage.py youtube-dlc.1.temp.md- pandoc -s -f $(MARKDOWN) -t man youtube-dlc.1.temp.md -o youtube-dlc.1- rm -f youtube-dlc.1.temp.md+yt-dlp.1: README.md+ $(PYTHON) devscripts/prepare_manpage.py yt-dlp.1.temp.md+ pandoc -s -f $(MARKDOWN) -t man yt-dlp.1.temp.md -o yt-dlp.1+ rm -f yt-dlp.1.temp.md-youtube-dlc.bash-completion: youtube_dlc/*.py youtube_dlc/*/*.py devscripts/bash-completion.in+yt-dlp.bash-completion: yt_dlp/*.py yt_dlp/*/*.py devscripts/bash-completion.in$(PYTHON) devscripts/bash-completion.py-bash-completion: youtube-dlc.bash-completion+bash-completion: yt-dlp.bash-completion-youtube-dlc.zsh: youtube_dlc/*.py youtube_dlc/*/*.py devscripts/zsh-completion.in+yt-dlp.zsh: yt_dlp/*.py yt_dlp/*/*.py devscripts/zsh-completion.in$(PYTHON) devscripts/zsh-completion.py-zsh-completion: youtube-dlc.zsh+zsh-completion: yt-dlp.zsh-youtube-dlc.fish: youtube_dlc/*.py youtube_dlc/*/*.py devscripts/fish-completion.in+yt-dlp.fish: yt_dlp/*.py yt_dlp/*/*.py devscripts/fish-completion.in$(PYTHON) devscripts/fish-completion.py-fish-completion: youtube-dlc.fish+fish-completion: yt-dlp.fish-lazy-extractors: youtube_dlc/extractor/lazy_extractors.py+lazy-extractors: yt_dlp/extractor/lazy_extractors.py-_EXTRACTOR_FILES = $(shell find youtube_dlc/extractor -iname '*.py' -and -not -iname 'lazy_extractors.py')-youtube_dlc/extractor/lazy_extractors.py: devscripts/make_lazy_extractors.py devscripts/lazy_load_template.py $(_EXTRACTOR_FILES)+_EXTRACTOR_FILES = $(shell find yt_dlp/extractor -iname '*.py' -and -not -iname 'lazy_extractors.py')+yt_dlp/extractor/lazy_extractors.py: devscripts/make_lazy_extractors.py devscripts/lazy_load_template.py $(_EXTRACTOR_FILES)$(PYTHON) devscripts/make_lazy_extractors.py $@-youtube-dlc.tar.gz: youtube-dlc README.md README.txt youtube-dlc.1 youtube-dlc.bash-completion youtube-dlc.zsh youtube-dlc.fish ChangeLog AUTHORS- @tar -czf youtube-dlc.tar.gz --transform "s|^|youtube-dlc/|" --owner 0 --group 0 \+yt-dlp.tar.gz: yt-dlp README.md README.txt yt-dlp.1 yt-dlp.bash-completion yt-dlp.zsh yt-dlp.fish ChangeLog AUTHORS+ @tar -czf yt-dlp.tar.gz --transform "s|^|yt-dlp/|" --owner 0 --group 0 \--exclude '*.DS_Store' \--exclude '*.kate-swp' \--exclude '*.pyc' \@@ -134,8 +134,8 @@ youtube-dlc.tar.gz: youtube-dlc README.md README.txt youtube-dlc.1 youtube-dlc.b--exclude '.git' \--exclude 'docs/_build' \-- \- bin devscripts test youtube_dlc docs \+ bin devscripts test yt_dlp docs \ChangeLog AUTHORS LICENSE README.md README.txt \- Makefile MANIFEST.in youtube-dlc.1 youtube-dlc.bash-completion \- youtube-dlc.zsh youtube-dlc.fish setup.py setup.cfg \- youtube-dlc+ Makefile MANIFEST.in yt-dlp.1 yt-dlp.bash-completion \+ yt-dlp.zsh yt-dlp.fish setup.py setup.cfg \+ yt-dlpdiff --git a/README.md b/README.mdindex 2141e922de..ef1a7bba24 100644--- a/README.md+++ b/README.md@@ -1,13 +1,13 @@# YT-DLP-[](https://github.com/pukkandan/yt-dlp/releases/latest)+[](https://github.com/yt-dlp/yt-dlp/releases/latest)[](LICENSE)-[](https://github.com/pukkandan/yt-dlp/actions)+[](https://github.com/yt-dlp/yt-dlp/actions)[](https://discord.gg/S75JaBna)-[](https://github.com/pukkandan/yt-dlp/commits)-[](https://github.com/pukkandan/yt-dlp/commits)-[](https://github.com/pukkandan/yt-dlp/releases/latest)+[](https://github.com/yt-dlp/yt-dlp/commits)+[](https://github.com/yt-dlp/yt-dlp/commits)+[](https://github.com/yt-dlp/yt-dlp/releases/latest)[](https://pypi.org/project/yt-dlp)A command-line program to download videos from youtube.com and many other [video platforms](docs/supportedsites.md)@@ -52,13 +52,13 @@ This is a fork of [youtube-dlc](https://github.com/blackjack4494/yt-dlc) which i# NEW FEATURESThe major new features from the latest release of [blackjack4494/yt-dlc](https://github.com/blackjack4494/yt-dlc) are:-* **[SponSkrub Integration](#sponskrub-sponsorblock-options)**: You can use [SponSkrub](https://github.com/pukkandan/SponSkrub) to mark/remove sponsor sections in youtube videos by utilizing the [SponsorBlock](https://sponsor.ajay.app) API+* **[SponSkrub Integration](#sponskrub-sponsorblock-options)**: You can use [SponSkrub](https://github.com/yt-dlp/SponSkrub) to mark/remove sponsor sections in youtube videos by utilizing the [SponsorBlock](https://sponsor.ajay.app) API* **[Format Sorting](#sorting-formats)**: The default format sorting options have been changed so that higher resolution and better codecs will be now preferred instead of simply using larger bitrate. Furthermore, you can now specify the sort order using `-S`. This allows for much easier format selection that what is possible by simply using `--format` ([examples](#format-selection-examples))* **Merged with youtube-dl v2021.02.10**: You get all the latest features and patches of [youtube-dl](https://github.com/ytdl-org/youtube-dl) in addition to all the features of [youtube-dlc](https://github.com/blackjack4494/yt-dlc)-* **Merged with animelover1984/youtube-dl**: You get most of the features and improvements from [animelover1984/youtube-dl](https://github.com/animelover1984/youtube-dl) including `--get-comments`, `BiliBiliSearch`, `BilibiliChannel`, Embedding thumbnail in mp4/ogg/opus, Playlist infojson etc. Note that the NicoNico improvements are not available. See [#31](https://github.com/pukkandan/yt-dlp/pull/31) for details.+* **Merged with animelover1984/youtube-dl**: You get most of the features and improvements from [animelover1984/youtube-dl](https://github.com/animelover1984/youtube-dl) including `--get-comments`, `BiliBiliSearch`, `BilibiliChannel`, Embedding thumbnail in mp4/ogg/opus, Playlist infojson etc. Note that the NicoNico improvements are not available. See [#31](https://github.com/yt-dlp/yt-dlp/pull/31) for details.* **Youtube improvements**:* All Youtube Feeds (`:ytfav`, `:ytwatchlater`, `:ytsubs`, `:ythistory`, `:ytrec`) works correctly and supports downloading multiple pages of content@@ -73,7 +73,7 @@ The major new features from the latest release of [blackjack4494/yt-dlc](https:/* **Plugin support**: Extractors can be loaded from an external file. See [plugins](#plugins) for details-* **Multiple paths and output templates**: You can give different [output templates](#output-template) and download paths for different types of files. You can also set a temporary path where intermediary files are downloaded to. See [`--paths`](https://github.com/pukkandan/yt-dlp/#:~:text=-P,%20--paths%20TYPE:PATH) for details+* **Multiple paths and output templates**: You can give different [output templates](#output-template) and download paths for different types of files. You can also set a temporary path where intermediary files are downloaded to. See [`--paths`](https://github.com/yt-dlp/yt-dlp/#:~:text=-P,%20--paths%20TYPE:PATH) for details<!-- Relative link doesn't work for "#:~:text=" -->@@ -83,10 +83,10 @@ The major new features from the latest release of [blackjack4494/yt-dlc](https:/* **Improvements**: Multiple `--postprocessor-args` and `--external-downloader-args`, Date/time formatting in `-o`, faster archive checking, more [format selection options](#format-selection) etc-* **Self-updater**: The releases can be updated using `youtube-dlc -U`+* **Self-updater**: The releases can be updated using `yt-dlp -U`-See [changelog](Changelog.md) or [commits](https://github.com/pukkandan/yt-dlp/commits) for the full list of changes+See [changelog](Changelog.md) or [commits](https://github.com/yt-dlp/yt-dlp/commits) for the full list of changes**PS**: Some of these changes are already in youtube-dlc, but are still unreleased. See [this](Changelog.md#unreleased-changes-in-blackjack4494yt-dlc) for details@@ -97,13 +97,13 @@ If you are coming from [youtube-dl](https://github.com/ytdl-org/youtube-dl), the# INSTALLATIONYou can install yt-dlp using one of the following methods:-* Download the binary from the [latest release](https://github.com/pukkandan/yt-dlp/releases/latest) (recommended method)+* Download the binary from the [latest release](https://github.com/yt-dlp/yt-dlp/releases/latest) (recommended method)* Use [PyPI package](https://pypi.org/project/yt-dlp): `python -m pip install --upgrade yt-dlp`-* Use pip+git: `python -m pip install --upgrade git+https://github.com/pukkandan/yt-dlp.git@release`-* Install master branch: `python -m pip install --upgrade git+https://github.com/pukkandan/yt-dlp`+* Use pip+git: `python -m pip install --upgrade git+https://github.com/yt-dlp/yt-dlp.git@release`+* Install master branch: `python -m pip install --upgrade git+https://github.com/yt-dlp/yt-dlp`### UPDATE-Starting from version `2021.02.09`, you can use `youtube-dlc -U` to update if you are using the provided release.+Starting from version `2021.02.09`, you can use `yt-dlp -U` to update if you are using the provided release.If you are using `pip`, simply re-run the same command that was used to install the program.### COMPILE@@ -117,7 +117,7 @@ Once you have all the necessary dependancies installed, just run `py pyinst.py`.You can also build the executable without any version info or metadata by using:- pyinstaller.exe youtube_dlc\__main__.py --onefile --name youtube-dlc+ pyinstaller.exe yt_dlp\__main__.py --onefile --name yt-dlp**For Unix**:You will need the required build tools@@ -129,9 +129,9 @@ Then simply type this**Note**: In either platform, `devscripts\update-version.py` can be used to automatically update the version number# DESCRIPTION-**youtube-dlc** is a command-line program to download videos from youtube.com many other [video platforms](docs/supportedsites.md). It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It should work on your Unix box, on Windows or on macOS. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.+**yt-dlp** is a command-line program to download videos from youtube.com many other [video platforms](docs/supportedsites.md). It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It should work on your Unix box, on Windows or on macOS. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.- youtube-dlc [OPTIONS] [--] URL [URL...]+ yt-dlp [OPTIONS] [--] URL [URL...]# OPTIONS@@ -561,7 +561,7 @@ Then simply type this## Authentication Options:-u, --username USERNAME Login with this account ID-p, --password PASSWORD Account password. If this option is left- out, youtube-dlc will ask interactively+ out, yt-dlp will ask interactively-2, --twofactor TWOFACTOR Two-factor authentication code-n, --netrc Use .netrc authentication data--video-password PASSWORD Video password (vimeo, youku)@@ -572,7 +572,7 @@ Then simply type thisa list of available MSOs--ap-username USERNAME Multiple-system operator account login--ap-password PASSWORD Multiple-system operator account password.- If this option is left out, youtube-dlc+ If this option is left out, yt-dlpwill ask interactively--ap-list-mso List all supported multiple-systemoperators@@ -667,7 +667,7 @@ Then simply type this(currently supported: srt|ass|vtt|lrc)## SponSkrub (SponsorBlock) Options:-[SponSkrub](https://github.com/pukkandan/SponSkrub) is a utility to+[SponSkrub](https://github.com/yt-dlp/SponSkrub) is a utility tomark/remove sponsor segments from downloaded YouTube videos using[SponsorBlock API](https://sponsor.ajay.app)@@ -712,11 +712,11 @@ Then simply type this# CONFIGURATION-You can configure youtube-dlc by placing any supported command line option to a configuration file. The configuration is loaded from the following locations:+You can configure yt-dlp by placing any supported command line option to a configuration file. The configuration is loaded from the following locations:1. **Main Configuration**: The file given by `--config-location`-1. **Portable Configuration**: `yt-dlp.conf` or `youtube-dlc.conf` in the same directory as the bundled binary. If you are running from source-code (`<root dir>/youtube_dlc/__main__.py`), the root directory is used instead.-1. **Home Configuration**: `yt-dlp.conf` or `youtube-dlc.conf` in the home path given by `-P "home:<path>"`, or in the current directory if no such path is given+1. **Portable Configuration**: `yt-dlp.conf` in the same directory as the bundled binary. If you are running from source-code (`<root dir>/yt_dlp/__main__.py`), the root directory is used instead.+1. **Home Configuration**: `yt-dlp.conf` in the home path given by `-P "home:<path>"`, or in the current directory if no such path is given1. **User Configuration**:* `%XDG_CONFIG_HOME%/yt-dlp/config` (recommended on Linux/macOS)* `%XDG_CONFIG_HOME%/yt-dlp.conf`@@ -725,10 +725,10 @@ You can configure youtube-dlc by placing any supported command line option to a* `~/yt-dlp.conf`* `~/yt-dlp.conf.txt`- If none of these files are found, the search is performed again by replacing `yt-dlp` with `youtube-dlc`. Note that `~` points to `C:\Users\<user name>` on windows. Also, `%XDG_CONFIG_HOME%` defaults to `~/.config` if undefined-1. **System Configuration**: `/etc/yt-dlp.conf` or `/etc/youtube-dlc.conf`+ Note that `~` points to `C:\Users\<user name>` on windows. Also, `%XDG_CONFIG_HOME%` defaults to `~/.config` if undefined+1. **System Configuration**: `/etc/yt-dlp.conf` or `/etc/yt-dlp.conf`-For example, with the following configuration file youtube-dlc will always extract the audio, not copy the mtime, use a proxy and save all videos under `YouTube` directory in your home directory:+For example, with the following configuration file yt-dlp will always extract the audio, not copy the mtime, use a proxy and save all videos under `YouTube` directory in your home directory:```# Lines starting with # are comments@@ -747,11 +747,11 @@ For example, with the following configuration file youtube-dlc will always extraNote that options in configuration file are just the same options aka switches used in regular command line calls; thus there **must be no whitespace** after `-` or `--`, e.g. `-o` or `--proxy` but not `- o` or `-- proxy`.-You can use `--ignore-config` if you want to disable all configuration files for a particular youtube-dlc run. If `--ignore-config` is found inside any configuration file, no further configuration will be loaded. For example, having the option in the portable configuration file prevents loading of user and system configurations. Additionally, (for backward compatibility) if `--ignore-config` is found inside the system configuration file, the user configuration is not loaded.+You can use `--ignore-config` if you want to disable all configuration files for a particular yt-dlp run. If `--ignore-config` is found inside any configuration file, no further configuration will be loaded. For example, having the option in the portable configuration file prevents loading of user and system configurations. Additionally, (for backward compatibility) if `--ignore-config` is found inside the system configuration file, the user configuration is not loaded.### Authentication with `.netrc` file-You may also want to configure automatic credentials storage for extractors that support authentication (by providing login and password with `--username` and `--password`) in order not to pass credentials as command line arguments on every youtube-dlc execution and prevent tracking plain text passwords in the shell command history. You can achieve this using a [`.netrc` file](https://stackoverflow.com/tags/.netrc/info) on a per extractor basis. For that you will need to create a `.netrc` file in your `$HOME` and restrict permissions to read/write by only you:+You may also want to configure automatic credentials storage for extractors that support authentication (by providing login and password with `--username` and `--password`) in order not to pass credentials as command line arguments on every yt-dlp execution and prevent tracking plain text passwords in the shell command history. You can achieve this using a [`.netrc` file](https://stackoverflow.com/tags/.netrc/info) on a per extractor basis. For that you will need to create a `.netrc` file in your `$HOME` and restrict permissions to read/write by only you:```touch $HOME/.netrcchmod a-rwx,u+rw $HOME/.netrc@@ -765,7 +765,7 @@ For example:machine youtube login [email protected] password my_youtube_passwordmachine twitch login my_twitch_account_name password my_twitch_password```-To activate authentication with the `.netrc` file you should pass `--netrc` to youtube-dlc or place it in the [configuration file](#configuration).+To activate authentication with the `.netrc` file you should pass `--netrc` to yt-dlp or place it in the [configuration file](#configuration).On Windows you may also need to setup the `%HOME%` environment variable manually. For example:```@@ -778,7 +778,7 @@ The `-o` option is used to indicate a template for the output file names while `**tl;dr:** [navigate me to examples](#output-template-examples).-The basic usage of `-o` is not to set any template arguments when downloading a single file, like in `youtube-dlc -o funny_video.flv "https://some/video"`. However, it may contain special sequences that will be replaced when downloading each video. The special sequences may be formatted according to [python string formatting operations](https://docs.python.org/2/library/stdtypes.html#string-formatting). For example, `%(NAME)s` or `%(NAME)05d`. To clarify, that is a percent symbol followed by a name in parentheses, followed by formatting operations. Date/time fields can also be formatted according to [strftime formatting](https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes) by specifying it inside the parantheses seperated from the field name using a `>`. For example, `%(duration>%H-%M-%S)s`.+The basic usage of `-o` is not to set any template arguments when downloading a single file, like in `yt-dlp -o funny_video.flv "https://some/video"`. However, it may contain special sequences that will be replaced when downloading each video. The special sequences may be formatted according to [python string formatting operations](https://docs.python.org/2/library/stdtypes.html#string-formatting). For example, `%(NAME)s` or `%(NAME)05d`. To clarify, that is a percent symbol followed by a name in parentheses, followed by formatting operations. Date/time fields can also be formatted according to [strftime formatting](https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes) by specifying it inside the parantheses seperated from the field name using a `>`. For example, `%(duration>%H-%M-%S)s`.Additionally, you can set different output templates for the various metadata files seperately from the general output template by specifying the type of file followed by the template seperated by a colon ":". The different filetypes supported are `subtitle|thumbnail|description|annotation|infojson|pl_description|pl_infojson`. For example, `-o '%(title)s.%(ext)s' -o 'thumbnail:%(title)s\%(title)s.%(ext)s'` will put the thumbnails in a folder with the same name as the video.@@ -873,7 +873,7 @@ Available for the media that is a track or a part of a music album:Each aforementioned sequence when referenced in an output template will be replaced by the actual value corresponding to the sequence name. Note that some of the sequences are not guaranteed to be present since they depend on the metadata obtained by a particular extractor. Such sequences will be replaced with placeholder value provided with `--output-na-placeholder` (`NA` by default).-For example for `-o %(title)s-%(id)s.%(ext)s` and an mp4 video with title `youtube-dlc test video` and id `BaW_jenozKcj`, this will result in a `youtube-dlc test video-BaW_jenozKcj.mp4` file created in the current directory.+For example for `-o %(title)s-%(id)s.%(ext)s` and an mp4 video with title `yt-dlp test video` and id `BaW_jenozKcj`, this will result in a `yt-dlp test video-BaW_jenozKcj.mp4` file created in the current directory.For numeric sequences you can use numeric related formatting, for example, `%(view_count)05d` will result in a string with view count padded with zeros up to 5 characters, like in `00042`.@@ -894,35 +894,35 @@ If you are using an output template inside a Windows batch file then you must esNote that on Windows you need to use double quotes instead of single.```bash-$ youtube-dlc --get-filename -o '%(title)s.%(ext)s' BaW_jenozKc-youtube-dlc test video ''_ä↭𝕐.mp4 # All kinds of weird characters+$ yt-dlp --get-filename -o '%(title)s.%(ext)s' BaW_jenozKc+youtube-dl test video ''_ä↭𝕐.mp4 # All kinds of weird characters-$ youtube-dlc --get-filename -o '%(title)s.%(ext)s' BaW_jenozKc --restrict-filenames-youtube-dlc_test_video_.mp4 # A simple file name+$ yt-dlp --get-filename -o '%(title)s.%(ext)s' BaW_jenozKc --restrict-filenames+youtube-dl_test_video_.mp4 # A simple file name# Download YouTube playlist videos in separate directory indexed by video order in a playlist-$ youtube-dlc -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https://www.youtube.com/playlist?list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re+$ yt-dlp -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https://www.youtube.com/playlist?list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re# Download YouTube playlist videos in seperate directories according to their uploaded year-$ youtube-dlc -o '%(upload_date>%Y)s/%(title)s.%(ext)s' https://www.youtube.com/playlist?list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re+$ yt-dlp -o '%(upload_date>%Y)s/%(title)s.%(ext)s' https://www.youtube.com/playlist?list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re# Download all playlists of YouTube channel/user keeping each playlist in separate directory:-$ youtube-dlc -o '%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https://www.youtube.com/user/TheLinuxFoundation/playlists+$ yt-dlp -o '%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https://www.youtube.com/user/TheLinuxFoundation/playlists# Download Udemy course keeping each chapter in separate directory under MyVideos directory in your home-$ youtube-dlc -u user -p password -P '~/MyVideos' -o '%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/java-tutorial/+$ yt-dlp -u user -p password -P '~/MyVideos' -o '%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/java-tutorial/# Download entire series season keeping each series and each season in separate directory under C:/MyVideos-$ youtube-dlc -P "C:/MyVideos" -o "%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s.%(ext)s" https://videomore.ru/kino_v_detalayah/5_sezon/367617+$ yt-dlp -P "C:/MyVideos" -o "%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s.%(ext)s" https://videomore.ru/kino_v_detalayah/5_sezon/367617# Stream the video being downloaded to stdout-$ youtube-dlc -o - BaW_jenozKc+$ yt-dlp -o - BaW_jenozKc```# FORMAT SELECTION-By default, youtube-dlc tries to download the best available quality if you **don't** pass any options.-This is generally equivalent to using `-f bestvideo*+bestaudio/best`. However, if multiple audiostreams is enabled (`--audio-multistreams`), the default format changes to `-f bestvideo+bestaudio/best`. Similarly, if ffmpeg is unavailable, or if you use youtube-dlc to stream to `stdout` (`-o -`), the default becomes `-f best/bestvideo+bestaudio`.+By default, yt-dlp tries to download the best available quality if you **don't** pass any options.+This is generally equivalent to using `-f bestvideo*+bestaudio/best`. However, if multiple audiostreams is enabled (`--audio-multistreams`), the default format changes to `-f bestvideo+bestaudio/best`. Similarly, if ffmpeg is unavailable, or if you use yt-dlp to stream to `stdout` (`-o -`), the default becomes `-f best/bestvideo+bestaudio`.The general syntax for format selection is `--f FORMAT` (or `--format FORMAT`) where `FORMAT` is a *selector expression*, i.e. an expression that describes format or formats you would like to download.@@ -1034,19 +1034,19 @@ Note that on Windows you may need to use double quotes instead of single.```bash# Download and merge the best best video-only format and the best audio-only format,# or download the best combined format if video-only format is not available-$ youtube-dlc -f 'bv+ba/b'+$ yt-dlp -f 'bv+ba/b'# Download best format that contains video,# and if it doesn't already have an audio stream, merge it with best audio-only format-$ youtube-dlc -f 'bv*+ba/b'+$ yt-dlp -f 'bv*+ba/b'# Same as above-$ youtube-dlc+$ yt-dlp# Download the best video-only format and the best audio-only format without merging them# For this case, an output template should be used since# by default, bestvideo and bestaudio will have the same file name.-$ youtube-dlc -f 'bv,ba' -o '%(title)s.f%(format_id)s.%(ext)s'+$ yt-dlp -f 'bv,ba' -o '%(title)s.f%(format_id)s.%(ext)s'@@ -1054,74 +1054,74 @@ $ youtube-dlc -f 'bv,ba' -o '%(title)s.f%(format_id)s.%(ext)s'# and how to use -S to achieve a similar but better result# Download the worst video available (old method)-$ youtube-dlc -f 'wv*+wa/w'+$ yt-dlp -f 'wv*+wa/w'# Download the best video available but with the smallest resolution-$ youtube-dlc -S '+res'+$ yt-dlp -S '+res'# Download the smallest video available-$ youtube-dlc -S '+size,+br'+$ yt-dlp -S '+size,+br'# Download the best mp4 video available, or the best video if no mp4 available-$ youtube-dlc -f 'bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4] / bv*+ba/b'+$ yt-dlp -f 'bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4] / bv*+ba/b'# Download the best video with the best extension# (For video, mp4 > webm > flv. For audio, m4a > aac > mp3 ...)-$ youtube-dlc -S 'ext'+$ yt-dlp -S 'ext'# Download the best video available but no better than 480p,# or the worst video if there is no video under 480p-$ youtube-dlc -f 'bv*[height<=480]+ba/b[height<=480] / wv*+ba/w'+$ yt-dlp -f 'bv*[height<=480]+ba/b[height<=480] / wv*+ba/w'# Download the best video available with the largest height but no better than 480p,# or the best video with the smallest resolution if there is no video under 480p-$ youtube-dlc -S 'height:480'+$ yt-dlp -S 'height:480'# Download the best video available with the largest resolution but no better than 480p,# or the best video with the smallest resolution if there is no video under 480p# Resolution is determined by using the smallest dimension.# So this works correctly for vertical videos as well-$ youtube-dlc -S 'res:480'+$ yt-dlp -S 'res:480'# Download the best video (that also has audio) but no bigger than 50 MB,# or the worst video (that also has audio) if there is no video under 50 MB-$ youtube-dlc -f 'b[filesize<50M] / w'+$ yt-dlp -f 'b[filesize<50M] / w'# Download largest video (that also has audio) but no bigger than 50 MB,# or the smallest video (that also has audio) if there is no video under 50 MB-$ youtube-dlc -f 'b' -S 'filesize:50M'+$ yt-dlp -f 'b' -S 'filesize:50M'# Download best video (that also has audio) that is closest in size to 50 MB-$ youtube-dlc -f 'b' -S 'filesize~50M'+$ yt-dlp -f 'b' -S 'filesize~50M'# Download best video available via direct link over HTTP/HTTPS protocol,# or the best video available via any protocol if there is no such video-$ youtube-dlc -f '(bv*+ba/b)[protocol^=http][protocol!*=dash] / (bv*+ba/b)'+$ yt-dlp -f '(bv*+ba/b)[protocol^=http][protocol!*=dash] / (bv*+ba/b)'# Download best video available via the best protocol# (https/ftps > http/ftp > m3u8_native > m3u8 > http_dash_segments ...)-$ youtube-dlc -S 'proto'+$ yt-dlp -S 'proto'# Download the best video with h264 codec, or the best video if there is no such video-$ youtube-dlc -f '(bv*+ba/b)[vcodec^=avc1] / (bv*+ba/b)'+$ yt-dlp -f '(bv*+ba/b)[vcodec^=avc1] / (bv*+ba/b)'# Download the best video with best codec no better than h264,# or the best video with worst codec if there is no such video-$ youtube-dlc -S 'codec:h264'+$ yt-dlp -S 'codec:h264'# Download the best video with worst codec no worse than h264,# or the best video with best codec if there is no such video-$ youtube-dlc -S '+codec:h264'+$ yt-dlp -S '+codec:h264'@@ -1129,26 +1129,26 @@ $ youtube-dlc -S '+codec:h264'# Download the best video no better than 720p prefering framerate greater than 30,# or the worst video (still prefering framerate greater than 30) if there is no such video-$ youtube-dlc -f '((bv*[fps>30]/bv*)[height<=720]/(wv*[fps>30]/wv*)) + ba / (b[fps>30]/b)[height<=720]/(w[fps>30]/w)'+$ yt-dlp -f '((bv*[fps>30]/bv*)[height<=720]/(wv*[fps>30]/wv*)) + ba / (b[fps>30]/b)[height<=720]/(w[fps>30]/w)'# Download the video with the largest resolution no better than 720p,# or the video with the smallest resolution available if there is no such video,# prefering larger framerate for formats with the same resolution-$ youtube-dlc -S 'res:720,fps'+$ yt-dlp -S 'res:720,fps'# Download the video with smallest resolution no worse than 480p,# or the video with the largest resolution available if there is no such video,# prefering better codec and then larger total bitrate for the same resolution-$ youtube-dlc -S '+res:480,codec,br'+$ yt-dlp -S '+res:480,codec,br'```# PLUGINSPlugins are loaded from `<root-dir>/ytdlp_plugins/<type>/__init__.py`. Currently only `extractor` plugins are supported. Support for `downloader` and `postprocessor` plugins may be added in the future. See [ytdlp_plugins](ytdlp_plugins) for example.-**Note**: `<root-dir>` is the directory of the binary (`<root-dir>/youtube-dlc`), or the root directory of the module if you are running directly from source-code (`<root dir>/youtube_dlc/__main__.py`)+**Note**: `<root-dir>` is the directory of the binary (`<root-dir>/yt-dlp`), or the root directory of the module if you are running directly from source-code (`<root dir>/yt_dlp/__main__.py`)# MOREFor FAQ, Developer Instructions etc., see the [original README](https://github.com/ytdl-org/youtube-dl#faq)diff --git a/devscripts/bash-completion.in b/devscripts/bash-completion.inindex 1bf41f2ccf..21f52798ed 100644--- a/devscripts/bash-completion.in+++ b/devscripts/bash-completion.in@@ -1,4 +1,4 @@-__youtube_dlc()+__yt_dlp(){local cur prev opts fileopts diropts keywordsCOMPREPLY=()@@ -26,4 +26,4 @@ __youtube_dlc()fi}-complete -F __youtube_dlc youtube-dlc+complete -F __yt_dlp yt-dlpdiff --git a/devscripts/bash-completion.py b/devscripts/bash-completion.pyindex d68c9b1cce..66c3d14f7f 100755--- a/devscripts/bash-completion.py+++ b/devscripts/bash-completion.py@@ -6,9 +6,9 @@ from os.path import dirname as dirnimport syssys.path.insert(0, dirn(dirn((os.path.abspath(__file__)))))-import youtube_dlc+import yt_dlp-BASH_COMPLETION_FILE = "youtube-dlc.bash-completion"+BASH_COMPLETION_FILE = "yt-dlp.bash-completion"BASH_COMPLETION_TEMPLATE = "devscripts/bash-completion.in"@@ -26,5 +26,5 @@ def build_completion(opt_parser):f.write(filled_template)-parser = youtube_dlc.parseOpts()[0]+parser = yt_dlp.parseOpts()[0]build_completion(parser)diff --git a/devscripts/buildserver.py b/devscripts/buildserver.pyindex 62dbd2cb17..9b5305a67d 100644--- a/devscripts/buildserver.py+++ b/devscripts/buildserver.py@@ -12,7 +12,7 @@ import tracebackimport os.pathsys.path.insert(0, os.path.dirname(os.path.dirname((os.path.abspath(__file__)))))-from youtube_dlc.compat import (+from yt_dlp.compat import (compat_input,compat_http_server,compat_str,@@ -325,7 +325,7 @@ class YoutubeDLBuilder(object):authorizedUsers = ['fraca7', 'phihag', 'rg3', 'FiloSottile', 'ytdl-org']def __init__(self, **kwargs):- if self.repoName != 'youtube-dlc':+ if self.repoName != 'yt-dlp':raise BuildError('Invalid repository "%s"' % self.repoName)if self.user not in self.authorizedUsers:raise HTTPError('Unauthorized user "%s"' % self.user, 401)diff --git a/devscripts/check-porn.py b/devscripts/check-porn.pyindex 68a33d823f..5e00724683 100644--- a/devscripts/check-porn.py+++ b/devscripts/check-porn.py@@ -15,8 +15,8 @@ import syssys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from test.helper import gettestcases-from youtube_dlc.utils import compat_urllib_parse_urlparse-from youtube_dlc.utils import compat_urllib_request+from yt_dlp.utils import compat_urllib_parse_urlparse+from yt_dlp.utils import compat_urllib_requestif len(sys.argv) > 1:METHOD = 'LIST'diff --git a/devscripts/create-github-release.py b/devscripts/create-github-release.pyindex 3e11be6fa1..e5740f40e8 100644--- a/devscripts/create-github-release.py+++ b/devscripts/create-github-release.py@@ -14,13 +14,13 @@ import syssys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))-from youtube_dlc.compat import (+from yt_dlp.compat import (compat_basestring,compat_getpass,compat_print,compat_urllib_request,)-from youtube_dlc.utils import (+from yt_dlp.utils import (make_HTTPS_handler,sanitized_Request,)@@ -100,7 +100,7 @@ def main():releaser = GitHubReleaser()new_release = releaser.create_release(- version, name='youtube-dlc %s' % version, body=body)+ version, name='yt-dlp %s' % version, body=body)release_id = new_release['id']for asset in os.listdir(build_path):diff --git a/devscripts/fish-completion.in b/devscripts/fish-completion.inindex 4f08b6d4a4..32938fbb4b 100644--- a/devscripts/fish-completion.in+++ b/devscripts/fish-completion.in@@ -2,4 +2,4 @@{{commands}}-complete --command youtube-dlc --arguments ":ytfavorites :ytrecommended :ytsubscriptions :ytwatchlater :ythistory"+complete --command yt-dlp --arguments ":ytfavorites :ytrecommended :ytsubscriptions :ytwatchlater :ythistory"diff --git a/devscripts/fish-completion.py b/devscripts/fish-completion.pyindex be65f43406..1c91f722b8 100755--- a/devscripts/fish-completion.py+++ b/devscripts/fish-completion.py@@ -7,10 +7,10 @@ from os.path import dirname as dirnimport syssys.path.insert(0, dirn(dirn((os.path.abspath(__file__)))))-import youtube_dlc-from youtube_dlc.utils import shell_quote+import yt_dlp+from yt_dlp.utils import shell_quote-FISH_COMPLETION_FILE = 'youtube-dlc.fish'+FISH_COMPLETION_FILE = 'yt-dlp.fish'FISH_COMPLETION_TEMPLATE = 'devscripts/fish-completion.in'EXTRA_ARGS = {@@ -31,7 +31,7 @@ def build_completion(opt_parser):for group in opt_parser.option_groups:for option in group.option_list:long_option = option.get_opt_string().strip('-')- complete_cmd = ['complete', '--command', 'youtube-dlc', '--long-option', long_option]+ complete_cmd = ['complete', '--command', 'yt-dlp', '--long-option', long_option]if option._short_opts:complete_cmd += ['--short-option', option._short_opts[0].strip('-')]if option.help != optparse.SUPPRESS_HELP:@@ -46,5 +46,5 @@ def build_completion(opt_parser):f.write(filled_template)-parser = youtube_dlc.parseOpts()[0]+parser = yt_dlp.parseOpts()[0]build_completion(parser)diff --git a/devscripts/generate_aes_testdata.py b/devscripts/generate_aes_testdata.pyindex c89bb547e7..f9bb2ad3b0 100644--- a/devscripts/generate_aes_testdata.py+++ b/devscripts/generate_aes_testdata.py@@ -7,8 +7,8 @@ import osimport syssys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))-from youtube_dlc.utils import intlist_to_bytes-from youtube_dlc.aes import aes_encrypt, key_expansion+from yt_dlp.utils import intlist_to_bytes+from yt_dlp.aes import aes_encrypt, key_expansionsecret_msg = b'Secret message goes here'diff --git a/devscripts/gh-pages/add-version.py b/devscripts/gh-pages/add-version.pyindex 04588a5eec..9ea01374d6 100755--- a/devscripts/gh-pages/add-version.py+++ b/devscripts/gh-pages/add-version.py@@ -22,9 +22,9 @@ if 'signature' in versions_info:new_version = {}filenames = {- 'bin': 'youtube-dlc',- 'exe': 'youtube-dlc.exe',- 'tar': 'youtube-dlc-%s.tar.gz' % version}+ 'bin': 'yt-dlp',+ 'exe': 'yt-dlp.exe',+ 'tar': 'yt-dlp-%s.tar.gz' % version}build_dir = os.path.join('..', '..', 'build', version)for key, filename in filenames.items():url = 'https://yt-dl.org/downloads/%s/%s' % (version, filename)diff --git a/devscripts/gh-pages/update-feed.py b/devscripts/gh-pages/update-feed.pyindex b07f1e830c..c9f2fdb07c 100755--- a/devscripts/gh-pages/update-feed.py+++ b/devscripts/gh-pages/update-feed.py@@ -11,24 +11,24 @@ atom_template = textwrap.dedent("""\<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><link rel="self" href="http://ytdl-org.github.io/youtube-dl/update/releases.atom" />- <title>youtube-dlc releases</title>- <id>https://yt-dl.org/feed/youtube-dlc-updates-feed</id>+ <title>yt-dlp releases</title>+ <id>https://yt-dl.org/feed/yt-dlp-updates-feed</id><updated>@TIMESTAMP@</updated>@ENTRIES@</feed>""")entry_template = textwrap.dedent("""<entry>- <id>https://yt-dl.org/feed/youtube-dlc-updates-feed/youtube-dlc-@VERSION@</id>+ <id>https://yt-dl.org/feed/yt-dlp-updates-feed/yt-dlp-@VERSION@</id><title>New version @VERSION@</title>- <link href="http://ytdl-org.github.io/youtube-dlc" />+ <link href="http://ytdl-org.github.io/yt-dlp" /><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">Downloads available at <a href="https://yt-dl.org/downloads/@VERSION@/">https://yt-dl.org/downloads/@VERSION@/</a></div></content><author>- <name>The youtube-dlc maintainers</name>+ <name>The yt-dlp maintainers</name></author><updated>@TIMESTAMP@</updated></entry>diff --git a/devscripts/gh-pages/update-sites.py b/devscripts/gh-pages/update-sites.pyindex 38acb5d9a2..b53685fccd 100755--- a/devscripts/gh-pages/update-sites.py+++ b/devscripts/gh-pages/update-sites.py@@ -5,10 +5,10 @@ import sysimport osimport textwrap-# We must be able to import youtube_dlc+# We must be able to import yt_dlpsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))-import youtube_dlc+import yt_dlpdef main():@@ -16,7 +16,7 @@ def main():template = tmplf.read()ie_htmls = []- for ie in youtube_dlc.list_extractors(age_limit=None):+ for ie in yt_dlp.list_extractors(age_limit=None):ie_html = '<b>{}</b>'.format(ie.IE_NAME)ie_desc = getattr(ie, 'IE_DESC', None)if ie_desc is False:diff --git a/devscripts/make_contributing.py b/devscripts/make_contributing.pyindex 80426fb0ac..b0cacbc4bf 100755--- a/devscripts/make_contributing.py+++ b/devscripts/make_contributing.py@@ -21,7 +21,7 @@ def main():bug_text = re.search( """# r'(?s)#\s*BUGS\s*[^\n]*\s*(.*?)#\s*COPYRIGHT', readme).group(1)# dev_text = re.search(-# r'(?s)(#\s*DEVELOPER INSTRUCTIONS.*?)#\s*EMBEDDING youtube-dlc',+# r'(?s)(#\s*DEVELOPER INSTRUCTIONS.*?)#\s*EMBEDDING yt-dlp',""" readme).group(1)out = bug_text + dev_textdiff --git a/devscripts/make_issue_template.py b/devscripts/make_issue_template.pyindex 37cb0d4ee1..13f337c822 100644--- a/devscripts/make_issue_template.py+++ b/devscripts/make_issue_template.py@@ -16,9 +16,9 @@ def main():with io.open(infile, encoding='utf-8') as inf:issue_template_tmpl = inf.read()- # Get the version from youtube_dlc/version.py without importing the package- exec(compile(open('youtube_dlc/version.py').read(),- 'youtube_dlc/version.py', 'exec'))+ # Get the version from yt_dlp/version.py without importing the package+ exec(compile(open('yt_dlp/version.py').read(),+ 'yt_dlp/version.py', 'exec'))out = issue_template_tmpl % {'version': locals()['__version__']}diff --git a/devscripts/make_lazy_extractors.py b/devscripts/make_lazy_extractors.pyindex c27ef97814..0ddaa3f830 100644--- a/devscripts/make_lazy_extractors.py+++ b/devscripts/make_lazy_extractors.py@@ -14,8 +14,8 @@ lazy_extractors_filename = sys.argv[1]if os.path.exists(lazy_extractors_filename):os.remove(lazy_extractors_filename)-from youtube_dlc.extractor import _ALL_CLASSES-from youtube_dlc.extractor.common import InfoExtractor, SearchInfoExtractor+from yt_dlp.extractor import _ALL_CLASSES+from yt_dlp.extractor.common import InfoExtractor, SearchInfoExtractorwith open('devscripts/lazy_load_template.py', 'rt') as f:module_template = f.read()diff --git a/devscripts/make_supportedsites.py b/devscripts/make_supportedsites.pyindex 0ae6f8aa30..12655bf89b 100644--- a/devscripts/make_supportedsites.py+++ b/devscripts/make_supportedsites.py@@ -7,10 +7,10 @@ import osimport sys-# Import youtube_dlc+# Import yt_dlpROOT_DIR = os.path.join(os.path.dirname(__file__), '..')sys.path.insert(0, ROOT_DIR)-import youtube_dlc+import yt_dlpdef main():@@ -33,7 +33,7 @@ def main():ie_md += ' (Currently broken)'yield ie_md- ies = sorted(youtube_dlc.gen_extractors(), key=lambda i: i.IE_NAME.lower())+ ies = sorted(yt_dlp.gen_extractors(), key=lambda i: i.IE_NAME.lower())out = '# Supported sites\n' + ''.join(' - ' + md + '\n'for md in gen_ies_md(ies))diff --git a/devscripts/prepare_manpage.py b/devscripts/prepare_manpage.pyindex 843ade482e..4578a33ceb 100644--- a/devscripts/prepare_manpage.py+++ b/devscripts/prepare_manpage.py@@ -8,7 +8,7 @@ import reROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))README_FILE = os.path.join(ROOT_DIR, 'README.md')-PREFIX = r'''%youtube-dlc(1)+PREFIX = r'''%yt-dlp(1)# NAME@@ -16,7 +16,7 @@ youtube\-dl \- download videos from youtube.com or other video platforms# SYNOPSIS-**youtube-dlc** \[OPTIONS\] URL [URL...]+**yt-dlp** \[OPTIONS\] URL [URL...]'''@@ -33,7 +33,7 @@ def main():readme = f.read()readme = re.sub(r'(?s)^.*?(?=# DESCRIPTION)', '', readme)- readme = re.sub(r'\s+youtube-dlc \[OPTIONS\] URL \[URL\.\.\.\]', '', readme)+ readme = re.sub(r'\s+yt-dlp \[OPTIONS\] URL \[URL\.\.\.\]', '', readme)readme = PREFIX + readmereadme = filter_options(readme)diff --git a/devscripts/release.sh b/devscripts/release.shindex 2da2ac4718..86294d56b3 100755--- a/devscripts/release.sh+++ b/devscripts/release.sh@@ -54,8 +54,8 @@ fiif [ ! -z "`git tag | grep "$version"`" ]; then echo 'ERROR: version already present'; exit 1; fiif [ ! -z "`git status --porcelain | grep -v CHANGELOG`" ]; then echo 'ERROR: the working directory is not clean; commit or stash changes'; exit 1; fi-useless_files=$(find youtube_dlc -type f -not -name '*.py')-if [ ! -z "$useless_files" ]; then echo "ERROR: Non-.py files in youtube_dlc: $useless_files"; exit 1; fi+useless_files=$(find yt_dlp -type f -not -name '*.py')+if [ ! -z "$useless_files" ]; then echo "ERROR: Non-.py files in yt_dlp: $useless_files"; exit 1; fiif [ ! -f "updates_key.pem" ]; then echo 'ERROR: updates_key.pem missing'; exit 1; fiif ! type pandoc >/dev/null 2>/dev/null; then echo 'ERROR: pandoc is missing'; exit 1; fiif ! python3 -c 'import rsa' 2>/dev/null; then echo 'ERROR: python3-rsa is missing'; exit 1; fi@@ -69,18 +69,18 @@ make cleanif $skip_tests ; thenecho 'SKIPPING TESTS'else- nosetests --verbose --with-coverage --cover-package=youtube_dlc --cover-html test --stop || exit 1+ nosetests --verbose --with-coverage --cover-package=yt_dlp --cover-html test --stop || exit 1fi/bin/echo -e "\n### Changing version in version.py..."-sed -i "s/__version__ = '.*'/__version__ = '$version'/" youtube_dlc/version.py+sed -i "s/__version__ = '.*'/__version__ = '$version'/" yt_dlp/version.py/bin/echo -e "\n### Changing version in ChangeLog..."sed -i "s/<unreleased>/$version/" ChangeLog-/bin/echo -e "\n### Committing documentation, templates and youtube_dlc/version.py..."+/bin/echo -e "\n### Committing documentation, templates and yt_dlp/version.py..."make README.md CONTRIBUTING.md issuetemplates supportedsites-git add README.md CONTRIBUTING.md .github/ISSUE_TEMPLATE/1_broken_site.md .github/ISSUE_TEMPLATE/2_site_support_request.md .github/ISSUE_TEMPLATE/3_site_feature_request.md .github/ISSUE_TEMPLATE/4_bug_report.md .github/ISSUE_TEMPLATE/5_feature_request.md .github/ISSUE_TEMPLATE/6_question.md docs/supportedsites.md youtube_dlc/version.py ChangeLog+git add README.md CONTRIBUTING.md .github/ISSUE_TEMPLATE/1_broken_site.md .github/ISSUE_TEMPLATE/2_site_support_request.md .github/ISSUE_TEMPLATE/3_site_feature_request.md .github/ISSUE_TEMPLATE/4_bug_report.md .github/ISSUE_TEMPLATE/5_feature_request.md .github/ISSUE_TEMPLATE/6_question.md docs/supportedsites.md yt_dlp/version.py ChangeLoggit commit $gpg_sign_commits -m "release $version"/bin/echo -e "\n### Now tagging, signing and pushing..."@@ -95,13 +95,13 @@ git push origin "$version"/bin/echo -e "\n### OK, now it is time to build the binaries..."REV=$(git rev-parse HEAD)-make youtube-dlc youtube-dlc.tar.gz+make yt-dlp yt-dlp.tar.gzread -p "VM running? (y/n) " -n 1-wget "http://$buildserver/build/ytdl-org/youtube-dl/youtube-dlc.exe?rev=$REV" -O youtube-dlc.exe+wget "http://$buildserver/build/ytdl-org/youtube-dl/yt-dlp.exe?rev=$REV" -O yt-dlp.exemkdir -p "build/$version"-mv youtube-dlc youtube-dlc.exe "build/$version"-mv youtube-dlc.tar.gz "build/$version/youtube-dlc-$version.tar.gz"-RELEASE_FILES="youtube-dlc youtube-dlc.exe youtube-dlc-$version.tar.gz"+mv yt-dlp yt-dlp.exe "build/$version"+mv yt-dlp.tar.gz "build/$version/yt-dlp-$version.tar.gz"+RELEASE_FILES="yt-dlp yt-dlp.exe yt-dlp-$version.tar.gz"(cd build/$version/ && md5sum $RELEASE_FILES > MD5SUMS)(cd build/$version/ && sha1sum $RELEASE_FILES > SHA1SUMS)(cd build/$version/ && sha256sum $RELEASE_FILES > SHA2-256SUMS)diff --git a/devscripts/show-downloads-statistics.py b/devscripts/show-downloads-statistics.pyindex b8c4269c48..e76f1e4c8a 100644--- a/devscripts/show-downloads-statistics.py+++ b/devscripts/show-downloads-statistics.py@@ -11,11 +11,11 @@ import syssys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))-from youtube_dlc.compat import (+from yt_dlp.compat import (compat_print,compat_urllib_request,)-from youtube_dlc.utils import format_bytes+from yt_dlp.utils import format_bytesdef format_size(bytes):@@ -38,9 +38,9 @@ for page in itertools.count(1):asset_name = asset['name']total_bytes += asset['download_count'] * asset['size']if all(not re.match(p, asset_name) for p in (- r'^youtube-dlc$',- r'^youtube-dlc-\d{4}\.\d{2}\.\d{2}(?:\.\d+)?\.tar\.gz$',- r'^youtube-dlc\.exe$')):+ r'^yt-dlp$',+ r'^yt-dlp-\d{4}\.\d{2}\.\d{2}(?:\.\d+)?\.tar\.gz$',+ r'^yt-dlp\.exe$')):continuecompat_print(' %s size: %s downloads: %d'diff --git a/devscripts/update-version.py b/devscripts/update-version.pyindex 54d2158a6c..c6e7b53098 100644--- a/devscripts/update-version.py+++ b/devscripts/update-version.py@@ -5,7 +5,7 @@ from datetime import datetime# response = urllib.request.urlopen('https://blackjack4494.github.io/youtube-dlc/update/LATEST_VERSION')# old_version = response.read().decode('utf-8')-exec(compile(open('youtube_dlc/version.py').read(), 'youtube_dlc/version.py', 'exec'))+exec(compile(open('yt_dlp/version.py').read(), 'yt_dlp/version.py', 'exec'))old_version = locals()['__version__']old_version_list = old_version.split(".", 4)@@ -19,13 +19,13 @@ rev = str(int(old_rev or 0) + 1) if old_ver == ver else ''VERSION = '.'.join((ver, rev)) if rev else ver# VERSION_LIST = [(int(v) for v in ver.split(".") + [rev or 0])]-print('::set-output name=ytdlc_version::' + VERSION)+print('::set-output name=ytdlp_version::' + VERSION)-file_version_py = open('youtube_dlc/version.py', 'rt')+file_version_py = open('yt_dlp/version.py', 'rt')data = file_version_py.read()data = data.replace(old_version, VERSION)file_version_py.close()-file_version_py = open('youtube_dlc/version.py', 'wt')+file_version_py = open('yt_dlp/version.py', 'wt')file_version_py.write(data)file_version_py.close()diff --git a/devscripts/zsh-completion.in b/devscripts/zsh-completion.inindex 2317f41df0..9117d339e0 100644--- a/devscripts/zsh-completion.in+++ b/devscripts/zsh-completion.in@@ -1,6 +1,6 @@-#compdef youtube-dlc+#compdef yt-dlp-__youtube_dlc() {+__yt_dlp() {local curcontext="$curcontext" fileopts diropts cur prevtypeset -A opt_argsfileopts="{{fileopts}}"@@ -27,4 +27,4 @@ __youtube_dlc() {esac}-__youtube_dlc\ No newline at end of file+__yt_dlp\ No newline at end of filediff --git a/devscripts/zsh-completion.py b/devscripts/zsh-completion.pyindex 8b957144f9..92eac58736 100755--- a/devscripts/zsh-completion.py+++ b/devscripts/zsh-completion.py@@ -6,9 +6,9 @@ from os.path import dirname as dirnimport syssys.path.insert(0, dirn(dirn((os.path.abspath(__file__)))))-import youtube_dlc+import yt_dlp-ZSH_COMPLETION_FILE = "youtube-dlc.zsh"+ZSH_COMPLETION_FILE = "yt-dlp.zsh"ZSH_COMPLETION_TEMPLATE = "devscripts/zsh-completion.in"@@ -45,5 +45,5 @@ def build_completion(opt_parser):f.write(template)-parser = youtube_dlc.parseOpts()[0]+parser = yt_dlp.parseOpts()[0]build_completion(parser)diff --git a/docs/Makefile b/docs/Makefileindex a7159ff459..1a8e3cb1cb 100644--- a/docs/Makefile+++ b/docs/Makefile@@ -85,17 +85,17 @@ qthelp:@echo@echo "Build finished; now you can run "qcollectiongenerator" with the" \".qhcp project file in $(BUILDDIR)/qthelp, like this:"- @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/youtube-dlc.qhcp"+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/yt-dlp.qhcp"@echo "To view the help file:"- @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/youtube-dlc.qhc"+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/yt-dlp.qhc"devhelp:$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp@echo@echo "Build finished."@echo "To view the help file:"- @echo "# mkdir -p $$HOME/.local/share/devhelp/youtube-dlc"- @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/youtube-dlc"+ @echo "# mkdir -p $$HOME/.local/share/devhelp/yt-dlp"+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/yt-dlp"@echo "# devhelp"epub:diff --git a/docs/conf.py b/docs/conf.pyindex 3ce98be4df..58c0359e73 100644--- a/docs/conf.py+++ b/docs/conf.py@@ -1,16 +1,6 @@# coding: utf-8#-# youtube-dlc documentation build configuration file, created by-# sphinx-quickstart on Fri Mar 14 21:05:43 2014.-#-# This file is execfile()d with the current directory set to its-# containing dir.-#-# Note that not all possible configuration values are present in this-# autogenerated file.-#-# All configuration values have a default; values that are commented out-# serve to show the default.+# yt-dlp documentation build configuration fileimport sysimport os@@ -47,7 +37,7 @@ copyright = u'UNLICENSE'# built documents.## The short X.Y version.-from youtube_dlc.version import __version__+from yt_dlp.version import __version__version = __version__# The full version, including alpha/beta/rc tags.release = versiondiff --git a/docs/index.rst b/docs/index.rstnew file mode 100644index 0000000000..9be67038aa--- /dev/null+++ b/docs/index.rst@@ -0,0 +1,23 @@+Welcome to yt-dlp's documentation!+======================================++*yt-dlp* is a command-line program to download videos from YouTube.com and more sites.+It can also be used in Python code.++Developer guide+---------------++This section contains information for using *yt-dlp* from Python programs.++.. toctree::+ :maxdepth: 2++ module_guide++Indices and tables+==================++* :ref:`genindex`+* :ref:`modindex`+* :ref:`search`+diff --git a/docs/module_guide.rst b/docs/module_guide.rstindex 6413659cfd..d6a96a9cfc 100644--- a/docs/module_guide.rst+++ b/docs/module_guide.rst@@ -1,11 +1,11 @@-Using the ``youtube_dlc`` module+Using the ``yt_dlp`` module===============================-When using the ``youtube_dlc`` module, you start by creating an instance of :class:`YoutubeDL` and adding all the available extractors:+When using the ``yt_dlp`` module, you start by creating an instance of :class:`YoutubeDL` and adding all the available extractors:.. code-block:: python- >>> from youtube_dlc import YoutubeDL+ >>> from yt_dlp import YoutubeDL>>> ydl = YoutubeDL()>>> ydl.add_default_info_extractors()@@ -22,7 +22,7 @@ You use the :meth:`YoutubeDL.extract_info` method for getting the video informat[youtube] BaW_jenozKc: Downloading video info webpage[youtube] BaW_jenozKc: Extracting video information>>> info['title']- 'youtube-dlc test video "\'/\\ä↭𝕐'+ 'youtube-dl test video "\'/\\ä↭𝕐'>>> info['height'], info['width'](720, 1280)@@ -64,4 +64,3 @@ You can access the videos in the playlist with the ``entries`` field:Video #7: Coding a better governmentVideo #8: The era of open innovationVideo #9: The currency of the new economy is trust-diff --git a/pyinst.py b/pyinst.pyindex e7b6dba254..005a5d9e2e 100644--- a/pyinst.py+++ b/pyinst.py@@ -23,7 +23,7 @@ FILE_DESCRIPTION = 'Media Downloader%s' % (' (32 Bit)' if _x86 else '')# print('Changing working directory to %s' % root_dir)# os.chdir(root_dir)-exec(compile(open('youtube_dlc/version.py').read(), 'youtube_dlc/version.py', 'exec'))+exec(compile(open('yt_dlp/version.py').read(), 'yt_dlp/version.py', 'exec'))VERSION = locals()['__version__']VERSION_LIST = VERSION.split('.')@@ -47,17 +47,17 @@ VERSION_FILE = VSVersionInfo(StringFileInfo([StringTable('040904B0', [- StringStruct('Comments', 'Youtube-dlc%s Command Line Interface.' % _x86),- StringStruct('CompanyName', 'https://github.com/pukkandan/yt-dlp'),+ StringStruct('Comments', 'yt-dlp%s Command Line Interface.' % _x86),+ StringStruct('CompanyName', 'https://github.com/yt-dlp'),StringStruct('FileDescription', FILE_DESCRIPTION),StringStruct('FileVersion', VERSION),- StringStruct('InternalName', 'youtube-dlc%s' % _x86),+ StringStruct('InternalName', 'yt-dlp%s' % _x86),StringStruct('LegalCopyright',- '[email protected] | UNLICENSE',+ '[email protected] | UNLICENSE',),- StringStruct('OriginalFilename', 'youtube-dlc%s.exe' % _x86),- StringStruct('ProductName', 'Youtube-dlc%s' % _x86),+ StringStruct('OriginalFilename', 'yt-dlp%s.exe' % _x86),+ StringStruct('ProductName', 'yt-dlp%s' % _x86),StringStruct('ProductVersion', '%s%s' % (VERSION, _x86)),])]),VarFileInfo([VarStruct('Translation', [0, 1200])])@@ -65,7 +65,7 @@ VERSION_FILE = VSVersionInfo()PyInstaller.__main__.run([- '--name=youtube-dlc%s' % _x86,+ '--name=yt-dlp%s' % _x86,'--onefile','--icon=devscripts/cloud.ico','--exclude-module=youtube_dl',@@ -74,6 +74,6 @@ PyInstaller.__main__.run(['--hidden-import=mutagen','--hidden-import=Crypto','--upx-exclude=vcruntime140.dll',- 'youtube_dlc/__main__.py',+ 'yt_dlp/__main__.py',])-SetVersion('dist/youtube-dlc%s.exe' % _x86, VERSION_FILE)+SetVersion('dist/yt-dlp%s.exe' % _x86, VERSION_FILE)diff --git a/setup.cfg b/setup.cfgindex e1f03714e8..59372d93a5 100644--- a/setup.cfg+++ b/setup.cfg@@ -2,5 +2,5 @@universal = True[flake8]-exclude = youtube_dlc/extractor/__init__.py,devscripts/buildserver.py,devscripts/lazy_load_template.py,devscripts/make_issue_template.py,setup.py,build,.git,venv,devscripts/create-github-release.py,devscripts/release.sh,devscripts/show-downloads-statistics.py+exclude = yt_dlp/extractor/__init__.py,devscripts/buildserver.py,devscripts/lazy_load_template.py,devscripts/make_issue_template.py,setup.py,build,.git,venv,devscripts/create-github-release.py,devscripts/release.sh,devscripts/show-downloads-statistics.pyignore = E402,E501,E731,E741,W503\ No newline at end of filediff --git a/setup.py b/setup.pyindex 09e2c84c9a..c49b8edaf7 100644--- a/setup.py+++ b/setup.py@@ -8,15 +8,15 @@ import sysfrom distutils.spawn import spawn-# Get the version from youtube_dlc/version.py without importing the package-exec(compile(open('youtube_dlc/version.py').read(),- 'youtube_dlc/version.py', 'exec'))+# Get the version from yt_dlp/version.py without importing the package+exec(compile(open('yt_dlp/version.py').read(),+ 'yt_dlp/version.py', 'exec'))DESCRIPTION = 'Command-line program to download videos from YouTube.com and many other other video platforms.'LONG_DESCRIPTION = '\n\n'.join((- 'Official repository: <https://github.com/pukkandan/yt-dlp>',+ 'Official repository: <https://github.com/yt-dlp/yt-dlp>','**PS**: Many links in this document will not work since this is a copy of the README.md from Github',open("README.md", "r", encoding="utf-8").read()))@@ -27,10 +27,10 @@ if len(sys.argv) >= 2 and sys.argv[1] == 'py2exe':print("inv")else:files_spec = [- ('etc/bash_completion.d', ['youtube-dlc.bash-completion']),- ('etc/fish/completions', ['youtube-dlc.fish']),- ('share/doc/youtube_dlc', ['README.txt']),- ('share/man/man1', ['youtube-dlc.1'])+ ('etc/bash_completion.d', ['yt-dlp.bash-completion']),+ ('etc/fish/completions', ['yt-dlp.fish']),+ ('share/doc/yt_dlp', ['README.txt']),+ ('share/man/man1', ['yt-dlp.1'])]root = os.path.dirname(os.path.abspath(__file__))data_files = []@@ -46,7 +46,7 @@ else:params = {'data_files': data_files,}- params['entry_points'] = {'console_scripts': ['youtube-dlc = youtube_dlc:main']}+ params['entry_points'] = {'console_scripts': ['yt-dlp = yt_dlp:main']}class build_lazy_extractors(Command):@@ -61,7 +61,7 @@ class build_lazy_extractors(Command):def run(self):spawn(- [sys.executable, 'devscripts/make_lazy_extractors.py', 'youtube_dlc/extractor/lazy_extractors.py'],+ [sys.executable, 'devscripts/make_lazy_extractors.py', 'yt_dlp/extractor/lazy_extractors.py'],dry_run=self.dry_run,)@@ -72,17 +72,17 @@ setup(name="yt-dlp",version=__version__,maintainer="pukkandan",- maintainer_email="[email protected]",+ maintainer_email="[email protected]",description=DESCRIPTION,long_description=LONG_DESCRIPTION,long_description_content_type="text/markdown",- url="https://github.com/pukkandan/yt-dlp",+ url="https://github.com/yt-dlp/yt-dlp",packages=packages,install_requires=REQUIREMENTS,project_urls={- 'Documentation': 'https://github.com/pukkandan/yt-dlp#yt-dlp',- 'Source': 'https://github.com/pukkandan/yt-dlp',- 'Tracker': 'https://github.com/pukkandan/yt-dlp/issues',+ 'Documentation': 'https://github.com/yt-dlp/yt-dlp#yt-dlp',+ 'Source': 'https://github.com/yt-dlp/yt-dlp',+ 'Tracker': 'https://github.com/yt-dlp/yt-dlp/issues',#'Funding': 'https://donate.pypi.org',},classifiers=[diff --git a/test/helper.py b/test/helper.pyindex f45818b0f1..963c405087 100644--- a/test/helper.py+++ b/test/helper.py@@ -10,13 +10,13 @@ import typesimport sslimport sys-import youtube_dlc.extractor-from youtube_dlc import YoutubeDL-from youtube_dlc.compat import (+import yt_dlp.extractor+from yt_dlp import YoutubeDL+from yt_dlp.compat import (compat_os_name,compat_str,)-from youtube_dlc.utils import (+from yt_dlp.utils import (preferredencoding,write_string,)@@ -90,7 +90,7 @@ class FakeYDL(YoutubeDL):def gettestcases(include_onlymatching=False):- for ie in youtube_dlc.extractor.gen_extractors():+ for ie in yt_dlp.extractor.gen_extractors():for tc in ie.get_testcases(include_onlymatching):yield tcdiff --git a/test/test_InfoExtractor.py b/test/test_InfoExtractor.pyindex d742284bc5..a086166948 100644--- a/test/test_InfoExtractor.py+++ b/test/test_InfoExtractor.py@@ -10,10 +10,10 @@ import unittestsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from test.helper import FakeYDL, expect_dict, expect_value, http_server_port-from youtube_dlc.compat import compat_etree_fromstring, compat_http_server-from youtube_dlc.extractor.common import InfoExtractor-from youtube_dlc.extractor import YoutubeIE, get_info_extractor-from youtube_dlc.utils import encode_data_uri, strip_jsonp, ExtractorError, RegexNotFoundError+from yt_dlp.compat import compat_etree_fromstring, compat_http_server+from yt_dlp.extractor.common import InfoExtractor+from yt_dlp.extractor import YoutubeIE, get_info_extractor+from yt_dlp.utils import encode_data_uri, strip_jsonp, ExtractorError, RegexNotFoundErrorimport threadingdiff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.pyindex 43a5dcd749..6ae36638be 100644--- a/test/test_YoutubeDL.py+++ b/test/test_YoutubeDL.py@@ -12,12 +12,12 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))import copyfrom test.helper import FakeYDL, assertRegexpMatches-from youtube_dlc import YoutubeDL-from youtube_dlc.compat import compat_str, compat_urllib_error-from youtube_dlc.extractor import YoutubeIE-from youtube_dlc.extractor.common import InfoExtractor-from youtube_dlc.postprocessor.common import PostProcessor-from youtube_dlc.utils import ExtractorError, match_filter_func+from yt_dlp import YoutubeDL+from yt_dlp.compat import compat_str, compat_urllib_error+from yt_dlp.extractor import YoutubeIE+from yt_dlp.extractor.common import InfoExtractor+from yt_dlp.postprocessor.common import PostProcessor+from yt_dlp.utils import ExtractorError, match_filter_funcTEST_URL = 'http://localhost/sample.mp4'diff --git a/test/test_YoutubeDLCookieJar.py b/test/test_YoutubeDLCookieJar.pyindex 615d8a9d88..0fadf812b0 100644--- a/test/test_YoutubeDLCookieJar.py+++ b/test/test_YoutubeDLCookieJar.py@@ -10,7 +10,7 @@ import tempfileimport unittestsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))-from youtube_dlc.utils import YoutubeDLCookieJar+from yt_dlp.utils import YoutubeDLCookieJarclass TestYoutubeDLCookieJar(unittest.TestCase):diff --git a/test/test_aes.py b/test/test_aes.pyindex ef1e1b189c..efbdd2e1a9 100644--- a/test/test_aes.py+++ b/test/test_aes.py@@ -8,8 +8,8 @@ import sysimport unittestsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))-from youtube_dlc.aes import aes_decrypt, aes_encrypt, aes_cbc_decrypt, aes_cbc_encrypt, aes_decrypt_text-from youtube_dlc.utils import bytes_to_intlist, intlist_to_bytes+from yt_dlp.aes import aes_decrypt, aes_encrypt, aes_cbc_decrypt, aes_cbc_encrypt, aes_decrypt_text+from yt_dlp.utils import bytes_to_intlist, intlist_to_bytesimport base64# the encrypted data can be generate with 'devscripts/generate_aes_testdata.py'diff --git a/test/test_age_restriction.py b/test/test_age_restriction.pyindex b73bdd7674..2eccd47187 100644--- a/test/test_age_restriction.py+++ b/test/test_age_restriction.py@@ -10,7 +10,7 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from test.helper import try_rm-from youtube_dlc import YoutubeDL+from yt_dlp import YoutubeDLdef _download_restricted(url, filename, age):diff --git a/test/test_all_urls.py b/test/test_all_urls.pyindex c16b427a30..e6cb33cd2f 100644--- a/test/test_all_urls.py+++ b/test/test_all_urls.py@@ -12,7 +12,7 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from test.helper import gettestcases-from youtube_dlc.extractor import (+from yt_dlp.extractor import (FacebookIE,gen_extractors,YoutubeIE,diff --git a/test/test_cache.py b/test/test_cache.pyindex 1167519d11..d6de221946 100644--- a/test/test_cache.py+++ b/test/test_cache.py@@ -13,7 +13,7 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from test.helper import FakeYDL-from youtube_dlc.cache import Cache+from yt_dlp.cache import Cachedef _is_empty(d):diff --git a/test/test_compat.py b/test/test_compat.pyindex 20a7099d66..d903a5bfea 100644--- a/test/test_compat.py+++ b/test/test_compat.py@@ -10,7 +10,7 @@ import unittestsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))-from youtube_dlc.compat import (+from yt_dlp.compat import (compat_getenv,compat_setenv,compat_etree_Element,@@ -30,11 +30,11 @@ from youtube_dlc.compat import (class TestCompat(unittest.TestCase):def test_compat_getenv(self):test_str = 'тест'- compat_setenv('youtube_dlc_COMPAT_GETENV', test_str)- self.assertEqual(compat_getenv('youtube_dlc_COMPAT_GETENV'), test_str)+ compat_setenv('yt_dlp_COMPAT_GETENV', test_str)+ self.assertEqual(compat_getenv('yt_dlp_COMPAT_GETENV'), test_str)def test_compat_setenv(self):- test_var = 'youtube_dlc_COMPAT_SETENV'+ test_var = 'yt_dlp_COMPAT_SETENV'test_str = 'тест'compat_setenv(test_var, test_str)compat_getenv(test_var)@@ -48,11 +48,11 @@ class TestCompat(unittest.TestCase):compat_setenv('HOME', old_home or '')def test_all_present(self):- import youtube_dlc.compat- all_names = youtube_dlc.compat.__all__+ import yt_dlp.compat+ all_names = yt_dlp.compat.__all__present_names = set(filter(lambda c: '_' in c and not c.startswith('_'),- dir(youtube_dlc.compat))) - set(['unicode_literals'])+ dir(yt_dlp.compat))) - set(['unicode_literals'])self.assertEqual(all_names, sorted(present_names))def test_compat_urllib_parse_quote(self):diff --git a/test/test_download.py b/test/test_download.pyindex bcd3b40417..5559b4d6fe 100644--- a/test/test_download.py+++ b/test/test_download.py@@ -24,24 +24,24 @@ import ioimport jsonimport socket-import youtube_dlc.YoutubeDL-from youtube_dlc.compat import (+import yt_dlp.YoutubeDL+from yt_dlp.compat import (compat_http_client,compat_urllib_error,compat_HTTPError,)-from youtube_dlc.utils import (+from yt_dlp.utils import (DownloadError,ExtractorError,format_bytes,UnavailableVideoError,)-from youtube_dlc.extractor import get_info_extractor+from yt_dlp.extractor import get_info_extractorRETRIES = 3-class YoutubeDL(youtube_dlc.YoutubeDL):+class YoutubeDL(yt_dlp.YoutubeDL):def __init__(self, *args, **kwargs):self.to_stderr = self.to_screenself.processed_info_dicts = []@@ -92,7 +92,7 @@ class TestDownload(unittest.TestCase):def generator(test_case, tname):def test_template(self):- ie = youtube_dlc.extractor.get_info_extractor(test_case['name'])()+ ie = yt_dlp.extractor.get_info_extractor(test_case['name'])()other_ies = [get_info_extractor(ie_key)() for ie_key in test_case.get('add_ie', [])]is_playlist = any(k.startswith('playlist') for k in test_case)test_cases = test_case.get(diff --git a/test/test_downloader_http.py b/test/test_downloader_http.pyindex c8e28bd3a3..2ef96b922c 100644--- a/test/test_downloader_http.py+++ b/test/test_downloader_http.py@@ -10,10 +10,10 @@ import unittestsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from test.helper import http_server_port, try_rm-from youtube_dlc import YoutubeDL-from youtube_dlc.compat import compat_http_server-from youtube_dlc.downloader.http import HttpFD-from youtube_dlc.utils import encodeFilename+from yt_dlp import YoutubeDL+from yt_dlp.compat import compat_http_server+from yt_dlp.downloader.http import HttpFD+from yt_dlp.utils import encodeFilenameimport threadingTEST_DIR = os.path.dirname(os.path.abspath(__file__))diff --git a/test/test_execution.py b/test/test_execution.pyindex b18e63d73f..2aea4df1bd 100644--- a/test/test_execution.py+++ b/test/test_execution.py@@ -10,7 +10,7 @@ import osimport subprocesssys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))-from youtube_dlc.utils import encodeArgument+from yt_dlp.utils import encodeArgumentrootDir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))@@ -23,18 +23,18 @@ except AttributeError:class TestExecution(unittest.TestCase):def test_import(self):- subprocess.check_call([sys.executable, '-c', 'import youtube_dlc'], cwd=rootDir)+ subprocess.check_call([sys.executable, '-c', 'import yt_dlp'], cwd=rootDir)def test_module_exec(self):if sys.version_info >= (2, 7): # Python 2.6 doesn't support package execution- subprocess.check_call([sys.executable, '-m', 'youtube_dlc', '--version'], cwd=rootDir, stdout=_DEV_NULL)+ subprocess.check_call([sys.executable, '-m', 'yt_dlp', '--version'], cwd=rootDir, stdout=_DEV_NULL)def test_main_exec(self):- subprocess.check_call([sys.executable, 'youtube_dlc/__main__.py', '--version'], cwd=rootDir, stdout=_DEV_NULL)+ subprocess.check_call([sys.executable, 'yt_dlp/__main__.py', '--version'], cwd=rootDir, stdout=_DEV_NULL)def test_cmdline_umlauts(self):p = subprocess.Popen(- [sys.executable, 'youtube_dlc/__main__.py', encodeArgument('ä'), '--version'],+ [sys.executable, 'yt_dlp/__main__.py', encodeArgument('ä'), '--version'],cwd=rootDir, stdout=_DEV_NULL, stderr=subprocess.PIPE)_, stderr = p.communicate()self.assertFalse(stderr)diff --git a/test/test_http.py b/test/test_http.pyindex 55c3c6183d..c9e7ee225c 100644--- a/test/test_http.py+++ b/test/test_http.py@@ -9,8 +9,8 @@ import unittestsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from test.helper import http_server_port-from youtube_dlc import YoutubeDL-from youtube_dlc.compat import compat_http_server, compat_urllib_request+from yt_dlp import YoutubeDL+from yt_dlp.compat import compat_http_server, compat_urllib_requestimport sslimport threadingdiff --git a/test/test_iqiyi_sdk_interpreter.py b/test/test_iqiyi_sdk_interpreter.pyindex 303609baa4..b39bf42701 100644--- a/test/test_iqiyi_sdk_interpreter.py+++ b/test/test_iqiyi_sdk_interpreter.py@@ -9,7 +9,7 @@ import unittestsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from test.helper import FakeYDL-from youtube_dlc.extractor import IqiyiIE+from yt_dlp.extractor import IqiyiIEclass IqiyiIEWithCredentials(IqiyiIE):diff --git a/test/test_jsinterp.py b/test/test_jsinterp.pyindex 97fc8d5aa8..def823884d 100644--- a/test/test_jsinterp.py+++ b/test/test_jsinterp.py@@ -8,7 +8,7 @@ import sysimport unittestsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))-from youtube_dlc.jsinterp import JSInterpreter+from yt_dlp.jsinterp import JSInterpreterclass TestJSInterpreter(unittest.TestCase):diff --git a/test/test_netrc.py b/test/test_netrc.pyindex 566ba37a64..36b9435917 100644--- a/test/test_netrc.py+++ b/test/test_netrc.py@@ -7,7 +7,7 @@ import unittestsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))-from youtube_dlc.extractor import (+from yt_dlp.extractor import (gen_extractors,)diff --git a/test/test_options.py b/test/test_options.pyindex dce2533736..42d9183a96 100644--- a/test/test_options.py+++ b/test/test_options.py@@ -8,7 +8,7 @@ import sysimport unittestsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))-from youtube_dlc.options import _hide_login_info+from yt_dlp.options import _hide_login_infoclass TestOptions(unittest.TestCase):diff --git a/test/test_overwrites.py b/test/test_overwrites.pyindex d5c866c833..41b4e6dead 100644--- a/test/test_overwrites.py+++ b/test/test_overwrites.py@@ -23,7 +23,7 @@ class TestOverwrites(unittest.TestCase):def test_default_overwrites(self):outp = subprocess.Popen([- sys.executable, 'youtube_dlc/__main__.py',+ sys.executable, 'yt_dlp/__main__.py','-o', 'test.webm','https://www.youtube.com/watch?v=jNQXAC9IVRw'], cwd=root_dir, stdout=subprocess.PIPE, stderr=subprocess.PIPE)@@ -35,7 +35,7 @@ class TestOverwrites(unittest.TestCase):def test_yes_overwrites(self):outp = subprocess.Popen([- sys.executable, 'youtube_dlc/__main__.py', '--yes-overwrites',+ sys.executable, 'yt_dlp/__main__.py', '--yes-overwrites','-o', 'test.webm','https://www.youtube.com/watch?v=jNQXAC9IVRw'], cwd=root_dir, stdout=subprocess.PIPE, stderr=subprocess.PIPE)diff --git a/test/test_post_hooks.py b/test/test_post_hooks.pyindex 63500924e9..51031871c6 100644--- a/test/test_post_hooks.py+++ b/test/test_post_hooks.py@@ -8,11 +8,11 @@ import unittestsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from test.helper import get_params, try_rm-import youtube_dlc.YoutubeDL-from youtube_dlc.utils import DownloadError+import yt_dlp.YoutubeDL+from yt_dlp.utils import DownloadError-class YoutubeDL(youtube_dlc.YoutubeDL):+class YoutubeDL(yt_dlp.YoutubeDL):def __init__(self, *args, **kwargs):super(YoutubeDL, self).__init__(*args, **kwargs)self.to_stderr = self.to_screendiff --git a/test/test_postprocessors.py b/test/test_postprocessors.pyindex fabe7e6fb9..2e9a1bf943 100644--- a/test/test_postprocessors.py+++ b/test/test_postprocessors.py@@ -8,7 +8,7 @@ import sysimport unittestsys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))-from youtube_dlc.postprocessor import MetadataFromFieldPP, MetadataFromTitlePP+from yt_dlp.postprocessor import MetadataFromFieldPP, MetadataFromTitlePPclass TestMetadataFromField(unittest.TestCase):diff --git a/test/test_socks.py b/test/test_socks.pyindex be52e2343e..8b42869821 100644--- a/test/test_socks.py+++ b/test/test_socks.py@@ -15,7 +15,7 @@ from test.helper import (FakeYDL,get_params,)-from youtube_dlc.compat import (+from yt_dlp.compat import (compat_str,compat_urllib_request,)diff --git a/test/test_subtitles.py b/test/test_subtitles.pyindex 0014d57b69..61547cdb10 100644--- a/test/test_subtitles.py+++ b/test/test_subtitles.py@@ -10,7 +10,7 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from test.helper import FakeYDL, md5-from youtube_dlc.extractor import (+from yt_dlp.extractor import (YoutubeIE,DailymotionIE,TEDIE,diff --git a/test/test_swfinterp.py b/test/test_swfinterp.pyindex 1a8b353e8d..29a390e425 100644--- a/test/test_swfinterp.py+++ b/test/test_swfinterp.py@@ -14,7 +14,7 @@ import jsonimport reimport subprocess-from youtube_dlc.swfinterp import SWFInterpreter+from yt_dlp.swfinterp import SWFInterpreterTEST_DIR = os.path.join(diff --git a/test/test_update.py.disabled b/test/test_update.py.disabledindex 1b144c43c4..617aee2f8b 100644--- a/test/test_update.py.disabled+++ b/test/test_update.py.disabled@@ -10,7 +10,7 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))import json-from youtube_dlc.update import rsa_verify+from yt_dlp.update import rsa_verifyclass TestUpdate(unittest.TestCase):diff --git a/test/test_utils.py b/test/test_utils.pyindex a0f78ebe14..795d2b46a2 100644--- a/test/test_utils.py+++ b/test/test_utils.py@@ -15,7 +15,7 @@ import ioimport jsonimport xml.etree.ElementTree-from youtube_dlc.utils import (+from yt_dlp.utils import (age_restricted,args_to_str,encode_base_n,@@ -107,7 +107,7 @@ from youtube_dlc.utils import (parse_codecs,iri_to_uri,)-from youtube_dlc.compat import (+from yt_dlp.compat import (compat_chr,compat_etree_fromstring,compat_getenv,@@ -242,12 +242,12 @@ class TestUtil(unittest.TestCase):def env(var):return '%{0}%'.format(var) if sys.platform == 'win32' else '${0}'.format(var)- compat_setenv('youtube_dlc_EXPATH_PATH', 'expanded')- self.assertEqual(expand_path(env('youtube_dlc_EXPATH_PATH')), 'expanded')+ compat_setenv('yt_dlp_EXPATH_PATH', 'expanded')+ self.assertEqual(expand_path(env('yt_dlp_EXPATH_PATH')), 'expanded')self.assertEqual(expand_path(env('HOME')), compat_getenv('HOME'))self.assertEqual(expand_path('~'), compat_getenv('HOME'))self.assertEqual(- expand_path('~/%s' % env('youtube_dlc_EXPATH_PATH')),+ expand_path('~/%s' % env('yt_dlp_EXPATH_PATH')),'%s/expanded' % compat_getenv('HOME'))def test_prepend_extension(self):@@ -1425,8 +1425,8 @@ Line 1self.assertEqual(caesar('ebg', 'acegik', -2), 'abc')def test_rot47(self):- self.assertEqual(rot47('youtube-dlc'), r'J@FEF36\5=4')- self.assertEqual(rot47('YOUTUBE-DLC'), r'*~&%&qt\s{r')+ self.assertEqual(rot47('yt-dlp'), r'JE\5=A')+ self.assertEqual(rot47('YT-DLP'), r'*%\s{!')def test_urshift(self):self.assertEqual(urshift(3, 1), 1)diff --git a/test/test_verbose_output.py b/test/test_verbose_output.pyindex 462f25e03f..9b1ccde880 100644--- a/test/test_verbose_output.py+++ b/test/test_verbose_output.py@@ -17,7 +17,7 @@ class TestVerboseOutput(unittest.TestCase):def test_private_info_arg(self):outp = subprocess.Popen([- sys.executable, 'youtube_dlc/__main__.py', '-v',+ sys.executable, 'yt_dlp/__main__.py', '-v','--username', '[email protected]','--password', 'secret',], cwd=rootDir, stdout=subprocess.PIPE, stderr=subprocess.PIPE)@@ -30,7 +30,7 @@ class TestVerboseOutput(unittest.TestCase):def test_private_info_shortarg(self):outp = subprocess.Popen([- sys.executable, 'youtube_dlc/__main__.py', '-v',+ sys.executable, 'yt_dlp/__main__.py', '-v','-u', '[email protected]','-p', 'secret',], cwd=rootDir, stdout=subprocess.PIPE, stderr=subprocess.PIPE)@@ -43,7 +43,7 @@ class TestVerboseOutput(unittest.TestCase):def test_private_info_eq(self):outp = subprocess.Popen([- sys.executable, 'youtube_dlc/__main__.py', '-v',+ sys.executable, 'yt_dlp/__main__.py', '-v','--password=secret',], cwd=rootDir, stdout=subprocess.PIPE, stderr=subprocess.PIPE)@@ -56,7 +56,7 @@ class TestVerboseOutput(unittest.TestCase):def test_private_info_shortarg_eq(self):outp = subprocess.Popen([- sys.executable, 'youtube_dlc/__main__.py', '-v',+ sys.executable, 'yt_dlp/__main__.py', '-v','-p=secret',], cwd=rootDir, stdout=subprocess.PIPE, stderr=subprocess.PIPE)diff --git a/test/test_write_annotations.py b/test/test_write_annotations.pyindex d98c96c15f..3a01223748 100644--- a/test/test_write_annotations.py+++ b/test/test_write_annotations.py@@ -15,11 +15,11 @@ import ioimport xml.etree.ElementTree-import youtube_dlc.YoutubeDL-import youtube_dlc.extractor+import yt_dlp.YoutubeDL+import yt_dlp.extractor-class YoutubeDL(youtube_dlc.YoutubeDL):+class YoutubeDL(yt_dlp.YoutubeDL):def __init__(self, *args, **kwargs):super(YoutubeDL, self).__init__(*args, **kwargs)self.to_stderr = self.to_screen@@ -45,7 +45,7 @@ class TestAnnotations(unittest.TestCase):def test_info_json(self):expected = list(EXPECTED_ANNOTATIONS) # Two annotations could have the same text.- ie = youtube_dlc.extractor.YoutubeIE()+ ie = yt_dlp.extractor.YoutubeIE()ydl = YoutubeDL(params)ydl.add_info_extractor(ie)ydl.download([TEST_ID])diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.pyindex d9b8fa5500..b38a47fc51 100644--- a/test/test_youtube_lists.py+++ b/test/test_youtube_lists.py@@ -10,7 +10,7 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))from test.helper import FakeYDL-from youtube_dlc.extractor import (+from yt_dlp.extractor import (YoutubePlaylistIE,YoutubeTabIE,YoutubeIE,diff --git a/test/test_youtube_signature.py b/test/test_youtube_signature.pyindex 2685185918..80cb4b93aa 100644--- a/test/test_youtube_signature.py+++ b/test/test_youtube_signature.py@@ -13,8 +13,8 @@ import reimport stringfrom test.helper import FakeYDL-from youtube_dlc.extractor import YoutubeIE-from youtube_dlc.compat import compat_str, compat_urlretrieve+from yt_dlp.extractor import YoutubeIE+from yt_dlp.compat import compat_str, compat_urlretrieve_TESTS = [(diff --git a/tox.ini b/tox.iniindex 842091d65c..4e7143fc61 100644--- a/tox.ini+++ b/tox.ini@@ -10,5 +10,5 @@ defaultargs = test --exclude test_download.py --exclude test_age_restriction.py--exclude test_subtitles.py --exclude test_write_annotations.py--exclude test_youtube_lists.py --exclude test_iqiyi_sdk_interpreter.py--exclude test_socks.py-commands = nosetests --verbose {posargs:{[testenv]defaultargs}} # --with-coverage --cover-package=youtube_dlc --cover-html+commands = nosetests --verbose {posargs:{[testenv]defaultargs}} # --with-coverage --cover-package=yt_dlp --cover-html# test.test_download:TestDownload.test_NowVideodiff --git a/youtube-dlc.cmd b/youtube-dlc.cmddeleted file mode 100644index 4bda71f173..0000000000--- a/youtube-dlc.cmd+++ /dev/null@@ -1 +0,0 @@-@py "%~dp0youtube_dlc\__main__.py" %*\ No newline at end of filediff --git a/youtube-dlc.sh b/youtube-dlc.shdeleted file mode 100644index 4b86f3b1df..0000000000--- a/youtube-dlc.sh+++ /dev/null@@ -1,2 +0,0 @@-#!/bin/bash-python3 -m youtube_dlc "$@"\ No newline at end of filediff --git a/yt-dlp.cmd b/yt-dlp.cmdnew file mode 100644index 0000000000..2b651a41e4--- /dev/null+++ b/yt-dlp.cmd@@ -0,0 +1 @@+@py "%~dp0yt_dlp\__main__.py" %*\ No newline at end of filediff --git a/yt-dlp.sh b/yt-dlp.shnew file mode 100644index 0000000000..97b86e0f0a--- /dev/null+++ b/yt-dlp.sh@@ -0,0 +1,2 @@+#!/bin/bash+python3 "$(dirname $(realpath $0))/yt_dlp/__main__.py" "$@"diff --git a/yt-dlp.sublime-project b/yt-dlp.sublime-projectdeleted file mode 100644index 0ffdc674b2..0000000000--- a/yt-dlp.sublime-project+++ /dev/null@@ -1,18 +0,0 @@-{- "folders":- [- {- "path": "./youtube_dlc",- "folder_exclude_patterns": ["__pycache__"],- },- {- "path": "./youtube_dl",- "folder_exclude_patterns": ["__pycache__"],- },- {- "path": ".",- "name": "root-folder",- "folder_exclude_patterns": ["youtube_dl", "youtube_dlc", ".git", "build", "dist", "zip"],- },- ]-}diff --git a/youtube_dlc/YoutubeDL.py b/yt_dlp/YoutubeDL.pysimilarity index 99%rename from youtube_dlc/YoutubeDL.pyrename to yt_dlp/YoutubeDL.pyindex 8ff6a64f04..a54755e158 100644--- a/youtube_dlc/YoutubeDL.py+++ b/yt_dlp/YoutubeDL.py@@ -199,7 +199,7 @@ class YoutubeDL(object):trim_file_name: Limit length of filename (extension excluded)windowsfilenames: Force the filenames to be windows compatibleignoreerrors: Do not stop on download errors- (Default True when running youtube-dlc,+ (Default True when running yt-dlp,but False when directly accessing YoutubeDL class)force_generic_extractor: Force downloader to use the generic extractoroverwrites: Overwrite all video and metadata files if True,@@ -279,7 +279,7 @@ class YoutubeDL(object):playlist items.postprocessors: A list of dictionaries, each with an entry* key: The name of the postprocessor. See- youtube_dlc/postprocessor/__init__.py for a list.+ yt_dlp/postprocessor/__init__.py for a list.* _after_move: Optional. If True, run this post_processorafter 'MoveFilesAfterDownload'as well as any further keyword arguments for the@@ -323,7 +323,7 @@ class YoutubeDL(object):about it, warn otherwise (default)source_address: Client-side IP address to bind to.call_home: Boolean, true iff we are allowed to contact the- youtube-dlc servers for debugging.+ yt-dlp servers for debugging. (BROKEN)sleep_interval: Number of seconds to sleep before each download whenused alone or a lower bound of a range for randomizedsleep before each download (minimum possible number@@ -360,7 +360,7 @@ class YoutubeDL(object):use downloader suggested by extractor if None.The following parameters are not used by YoutubeDL itself, they are used by- the downloader (see youtube_dlc/downloader/common.py):+ the downloader (see yt_dlp/downloader/common.py):nopart, updatetime, buffersize, ratelimit, min_filesize, max_filesize, test,noresizebuffer, retries, continuedl, noprogress, consoletitle,xattr_set_filesize, external_downloader_args, hls_use_mpegts,@@ -549,7 +549,7 @@ class YoutubeDL(object):if re.match(r'^-[0-9A-Za-z_-]{10}$', a)]if idxs:correct_argv = (- ['youtube-dlc']+ ['yt-dlp']+ [a for i, a in enumerate(argv) if i not in idxs]+ ['--'] + [argv[i] for i in idxs])@@ -2893,7 +2893,7 @@ class YoutubeDL(object):file_handler = compat_urllib_request.FileHandler()def file_open(*args, **kwargs):- raise compat_urllib_error.URLError('file:// scheme is explicitly disabled in youtube-dlc for security reasons')+ raise compat_urllib_error.URLError('file:// scheme is explicitly disabled in yt-dlp for security reasons')file_handler.file_open = file_openopener = compat_urllib_request.build_opener(diff --git a/youtube_dlc/__init__.py b/yt_dlp/__init__.pysimilarity index 99%rename from youtube_dlc/__init__.pyrename to yt_dlp/__init__.pyindex 60400632d5..91539daaf8 100644--- a/youtube_dlc/__init__.py+++ b/yt_dlp/__init__.py@@ -57,7 +57,7 @@ def _real_main(argv=None):workaround_optparse_bug9161()- setproctitle('youtube-dlc')+ setproctitle('yt-dlp')parser, opts, args = parseOpts(argv)@@ -573,7 +573,7 @@ def _real_main(argv=None):ydl.warn_if_short_id(sys.argv[1:] if argv is None else argv)parser.error('You must provide at least one URL.\n'- 'Type youtube-dlc --help to see a list of all options.')+ 'Type yt-dlp --help to see a list of all options.')try:if opts.load_info_filename is not None:diff --git a/youtube_dlc/__main__.py b/yt_dlp/__main__.pysimilarity index 73%rename from youtube_dlc/__main__.pyrename to yt_dlp/__main__.pyindex 0e76016868..f7329d67ea 100644--- a/youtube_dlc/__main__.py+++ b/yt_dlp/__main__.py@@ -2,8 +2,8 @@from __future__ import unicode_literals# Execute with-# $ python youtube_dlc/__main__.py (2.6+)-# $ python -m youtube_dlc (2.7+)+# $ python yt_dlp/__main__.py (2.6+)+# $ python -m yt_dlp (2.7+)import sys@@ -13,7 +13,7 @@ if __package__ is None and not hasattr(sys, 'frozen'):path = os.path.realpath(os.path.abspath(__file__))sys.path.insert(0, os.path.dirname(os.path.dirname(path)))-import youtube_dlc+import yt_dlpif __name__ == '__main__':- youtube_dlc.main()+ yt_dlp.main()diff --git a/youtube_dlc/aes.py b/yt_dlp/aes.pysimilarity index 100%rename from youtube_dlc/aes.pyrename to yt_dlp/aes.pydiff --git a/youtube_dlc/cache.py b/yt_dlp/cache.pysimilarity index 98%rename from youtube_dlc/cache.pyrename to yt_dlp/cache.pyindex ada6aa1f28..dde9cca646 100644--- a/youtube_dlc/cache.py+++ b/yt_dlp/cache.py@@ -23,7 +23,7 @@ class Cache(object):res = self._ydl.params.get('cachedir')if res is None:cache_root = compat_getenv('XDG_CACHE_HOME', '~/.cache')- res = os.path.join(cache_root, 'youtube-dlc')+ res = os.path.join(cache_root, 'yt-dlp')return expand_path(res)def _get_cache_fn(self, section, key, dtype):diff --git a/youtube_dlc/compat.py b/yt_dlp/compat.pysimilarity index 99%rename from youtube_dlc/compat.pyrename to yt_dlp/compat.pyindex 4a75a336c8..9659d480e1 100644--- a/youtube_dlc/compat.py+++ b/yt_dlp/compat.py@@ -2993,7 +2993,7 @@ else:if platform.python_implementation() == 'PyPy' and sys.pypy_version_info < (5, 4, 0):# PyPy2 prior to version 5.4.0 expects byte strings as Windows function- # names, see the original PyPy issue [1] and the youtube-dlc one [2].+ # names, see the original PyPy issue [1] and the yt-dlp one [2].# 1. https://bitbucket.org/pypy/pypy/issues/2360/windows-ctypescdll-typeerror-function-name# 2. https://github.com/ytdl-org/youtube-dl/pull/4392def compat_ctypes_WINFUNCTYPE(*args, **kwargs):diff --git a/youtube_dlc/downloader/__init__.py b/yt_dlp/downloader/__init__.pysimilarity index 100%rename from youtube_dlc/downloader/__init__.pyrename to yt_dlp/downloader/__init__.pydiff --git a/youtube_dlc/downloader/common.py b/yt_dlp/downloader/common.pysimilarity index 99%rename from youtube_dlc/downloader/common.pyrename to yt_dlp/downloader/common.pyindex f7e7955aae..7f72969157 100644--- a/youtube_dlc/downloader/common.py+++ b/yt_dlp/downloader/common.py@@ -243,7 +243,7 @@ class FileDownloader(object):else:clear_line = ('\r\x1b[K' if sys.stderr.isatty() else '\r')self.to_screen(clear_line + fullmsg, skip_eol=not is_last_line)- self.to_console_title('youtube-dlc ' + msg)+ self.to_console_title('yt-dlp ' + msg)def report_progress(self, s):if s['status'] == 'finished':diff --git a/youtube_dlc/downloader/dash.py b/yt_dlp/downloader/dash.pysimilarity index 100%rename from youtube_dlc/downloader/dash.pyrename to yt_dlp/downloader/dash.pydiff --git a/youtube_dlc/downloader/external.py b/yt_dlp/downloader/external.pysimilarity index 100%rename from youtube_dlc/downloader/external.pyrename to yt_dlp/downloader/external.pydiff --git a/youtube_dlc/downloader/f4m.py b/yt_dlp/downloader/f4m.pysimilarity index 100%rename from youtube_dlc/downloader/f4m.pyrename to yt_dlp/downloader/f4m.pydiff --git a/youtube_dlc/downloader/fragment.py b/yt_dlp/downloader/fragment.pysimilarity index 98%rename from youtube_dlc/downloader/fragment.pyrename to yt_dlp/downloader/fragment.pyindex 5bc7f50f68..44beed0664 100644--- a/youtube_dlc/downloader/fragment.py+++ b/yt_dlp/downloader/fragment.py@@ -32,9 +32,9 @@ class FragmentFD(FileDownloader):keep_fragments: Keep downloaded fragments on disk after downloading isfinished- For each incomplete fragment download youtube-dlc keeps on disk a special+ For each incomplete fragment download yt-dlp keeps on disk a specialbookkeeping file with download state and metadata (in future such files will- be used for any incomplete download handled by youtube-dlc). This file is+ be used for any incomplete download handled by yt-dlp). This file isused to properly handle resuming, check download file consistency and detectpotential errors. The file has a .ytdl extension and represents a standardJSON file of the following format:diff --git a/youtube_dlc/downloader/hls.py b/yt_dlp/downloader/hls.pysimilarity index 100%rename from youtube_dlc/downloader/hls.pyrename to yt_dlp/downloader/hls.pydiff --git a/youtube_dlc/downloader/http.py b/yt_dlp/downloader/http.pysimilarity index 100%rename from youtube_dlc/downloader/http.pyrename to yt_dlp/downloader/http.pydiff --git a/youtube_dlc/downloader/ism.py b/yt_dlp/downloader/ism.pysimilarity index 100%rename from youtube_dlc/downloader/ism.pyrename to yt_dlp/downloader/ism.pydiff --git a/youtube_dlc/downloader/niconico.py b/yt_dlp/downloader/niconico.pysimilarity index 100%rename from youtube_dlc/downloader/niconico.pyrename to yt_dlp/downloader/niconico.pydiff --git a/youtube_dlc/downloader/rtmp.py b/yt_dlp/downloader/rtmp.pysimilarity index 100%rename from youtube_dlc/downloader/rtmp.pyrename to yt_dlp/downloader/rtmp.pydiff --git a/youtube_dlc/downloader/rtsp.py b/yt_dlp/downloader/rtsp.pysimilarity index 100%rename from youtube_dlc/downloader/rtsp.pyrename to yt_dlp/downloader/rtsp.pydiff --git a/youtube_dlc/downloader/youtube_live_chat.py b/yt_dlp/downloader/youtube_live_chat.pysimilarity index 100%rename from youtube_dlc/downloader/youtube_live_chat.pyrename to yt_dlp/downloader/youtube_live_chat.pydiff --git a/youtube_dlc/extractor/__init__.py b/yt_dlp/extractor/__init__.pysimilarity index 100%rename from youtube_dlc/extractor/__init__.pyrename to yt_dlp/extractor/__init__.pydiff --git a/youtube_dlc/extractor/abc.py b/yt_dlp/extractor/abc.pysimilarity index 100%rename from youtube_dlc/extractor/abc.pyrename to yt_dlp/extractor/abc.pydiff --git a/youtube_dlc/extractor/abcnews.py b/yt_dlp/extractor/abcnews.pysimilarity index 100%rename from youtube_dlc/extractor/abcnews.pyrename to yt_dlp/extractor/abcnews.pydiff --git a/youtube_dlc/extractor/abcotvs.py b/yt_dlp/extractor/abcotvs.pysimilarity index 100%rename from youtube_dlc/extractor/abcotvs.pyrename to yt_dlp/extractor/abcotvs.pydiff --git a/youtube_dlc/extractor/academicearth.py b/yt_dlp/extractor/academicearth.pysimilarity index 100%rename from youtube_dlc/extractor/academicearth.pyrename to yt_dlp/extractor/academicearth.pydiff --git a/youtube_dlc/extractor/acast.py b/yt_dlp/extractor/acast.pysimilarity index 100%rename from youtube_dlc/extractor/acast.pyrename to yt_dlp/extractor/acast.pydiff --git a/youtube_dlc/extractor/adn.py b/yt_dlp/extractor/adn.pysimilarity index 100%rename from youtube_dlc/extractor/adn.pyrename to yt_dlp/extractor/adn.pydiff --git a/youtube_dlc/extractor/adobeconnect.py b/yt_dlp/extractor/adobeconnect.pysimilarity index 100%rename from youtube_dlc/extractor/adobeconnect.pyrename to yt_dlp/extractor/adobeconnect.pydiff --git a/youtube_dlc/extractor/adobepass.py b/yt_dlp/extractor/adobepass.pysimilarity index 100%rename from youtube_dlc/extractor/adobepass.pyrename to yt_dlp/extractor/adobepass.pydiff --git a/youtube_dlc/extractor/adobetv.py b/yt_dlp/extractor/adobetv.pysimilarity index 100%rename from youtube_dlc/extractor/adobetv.pyrename to yt_dlp/extractor/adobetv.pydiff --git a/youtube_dlc/extractor/adultswim.py b/yt_dlp/extractor/adultswim.pysimilarity index 100%rename from youtube_dlc/extractor/adultswim.pyrename to yt_dlp/extractor/adultswim.pydiff --git a/youtube_dlc/extractor/aenetworks.py b/yt_dlp/extractor/aenetworks.pysimilarity index 100%rename from youtube_dlc/extractor/aenetworks.pyrename to yt_dlp/extractor/aenetworks.pydiff --git a/youtube_dlc/extractor/afreecatv.py b/yt_dlp/extractor/afreecatv.pysimilarity index 100%rename from youtube_dlc/extractor/afreecatv.pyrename to yt_dlp/extractor/afreecatv.pydiff --git a/youtube_dlc/extractor/airmozilla.py b/yt_dlp/extractor/airmozilla.pysimilarity index 100%rename from youtube_dlc/extractor/airmozilla.pyrename to yt_dlp/extractor/airmozilla.pydiff --git a/youtube_dlc/extractor/aliexpress.py b/yt_dlp/extractor/aliexpress.pysimilarity index 100%rename from youtube_dlc/extractor/aliexpress.pyrename to yt_dlp/extractor/aliexpress.pydiff --git a/youtube_dlc/extractor/aljazeera.py b/yt_dlp/extractor/aljazeera.pysimilarity index 100%rename from youtube_dlc/extractor/aljazeera.pyrename to yt_dlp/extractor/aljazeera.pydiff --git a/youtube_dlc/extractor/allocine.py b/yt_dlp/extractor/allocine.pysimilarity index 100%rename from youtube_dlc/extractor/allocine.pyrename to yt_dlp/extractor/allocine.pydiff --git a/youtube_dlc/extractor/alphaporno.py b/yt_dlp/extractor/alphaporno.pysimilarity index 100%rename from youtube_dlc/extractor/alphaporno.pyrename to yt_dlp/extractor/alphaporno.pydiff --git a/youtube_dlc/extractor/alura.py b/yt_dlp/extractor/alura.pysimilarity index 100%rename from youtube_dlc/extractor/alura.pyrename to yt_dlp/extractor/alura.pydiff --git a/youtube_dlc/extractor/amara.py b/yt_dlp/extractor/amara.pysimilarity index 100%rename from youtube_dlc/extractor/amara.pyrename to yt_dlp/extractor/amara.pydiff --git a/youtube_dlc/extractor/amcnetworks.py b/yt_dlp/extractor/amcnetworks.pysimilarity index 100%rename from youtube_dlc/extractor/amcnetworks.pyrename to yt_dlp/extractor/amcnetworks.pydiff --git a/youtube_dlc/extractor/americastestkitchen.py b/yt_dlp/extractor/americastestkitchen.pysimilarity index 100%rename from youtube_dlc/extractor/americastestkitchen.pyrename to yt_dlp/extractor/americastestkitchen.pydiff --git a/youtube_dlc/extractor/amp.py b/yt_dlp/extractor/amp.pysimilarity index 100%rename from youtube_dlc/extractor/amp.pyrename to yt_dlp/extractor/amp.pydiff --git a/youtube_dlc/extractor/animelab.py b/yt_dlp/extractor/animelab.pysimilarity index 100%rename from youtube_dlc/extractor/animelab.pyrename to yt_dlp/extractor/animelab.pydiff --git a/youtube_dlc/extractor/animeondemand.py b/yt_dlp/extractor/animeondemand.pysimilarity index 100%rename from youtube_dlc/extractor/animeondemand.pyrename to yt_dlp/extractor/animeondemand.pydiff --git a/youtube_dlc/extractor/anvato.py b/yt_dlp/extractor/anvato.pysimilarity index 99%rename from youtube_dlc/extractor/anvato.pyrename to yt_dlp/extractor/anvato.pyindex ab69b69bd5..7386ae2e6b 100644--- a/youtube_dlc/extractor/anvato.py+++ b/yt_dlp/extractor/anvato.py@@ -23,7 +23,7 @@ from ..utils import (# This import causes a ModuleNotFoundError on some systems for unknown reason.# See issues:-# https://github.com/pukkandan/yt-dlp/issues/35+# https://github.com/yt-dlp/yt-dlp/issues/35# https://github.com/ytdl-org/youtube-dl/issues/27449# https://github.com/animelover1984/youtube-dl/issues/17try:diff --git a/youtube_dlc/extractor/anvato_token_generator/__init__.py b/yt_dlp/extractor/anvato_token_generator/__init__.pysimilarity index 100%rename from youtube_dlc/extractor/anvato_token_generator/__init__.pyrename to yt_dlp/extractor/anvato_token_generator/__init__.pydiff --git a/youtube_dlc/extractor/anvato_token_generator/common.py b/yt_dlp/extractor/anvato_token_generator/common.pysimilarity index 100%rename from youtube_dlc/extractor/anvato_token_generator/common.pyrename to yt_dlp/extractor/anvato_token_generator/common.pydiff --git a/youtube_dlc/extractor/anvato_token_generator/nfl.py b/yt_dlp/extractor/anvato_token_generator/nfl.pysimilarity index 100%rename from youtube_dlc/extractor/anvato_token_generator/nfl.pyrename to yt_dlp/extractor/anvato_token_generator/nfl.pydiff --git a/youtube_dlc/extractor/aol.py b/yt_dlp/extractor/aol.pysimilarity index 100%rename from youtube_dlc/extractor/aol.pyrename to yt_dlp/extractor/aol.pydiff --git a/youtube_dlc/extractor/apa.py b/yt_dlp/extractor/apa.pysimilarity index 100%rename from youtube_dlc/extractor/apa.pyrename to yt_dlp/extractor/apa.pydiff --git a/youtube_dlc/extractor/aparat.py b/yt_dlp/extractor/aparat.pysimilarity index 100%rename from youtube_dlc/extractor/aparat.pyrename to yt_dlp/extractor/aparat.pydiff --git a/youtube_dlc/extractor/appleconnect.py b/yt_dlp/extractor/appleconnect.pysimilarity index 100%rename from youtube_dlc/extractor/appleconnect.pyrename to yt_dlp/extractor/appleconnect.pydiff --git a/youtube_dlc/extractor/applepodcasts.py b/yt_dlp/extractor/applepodcasts.pysimilarity index 100%rename from youtube_dlc/extractor/applepodcasts.pyrename to yt_dlp/extractor/applepodcasts.pydiff --git a/youtube_dlc/extractor/appletrailers.py b/yt_dlp/extractor/appletrailers.pysimilarity index 99%rename from youtube_dlc/extractor/appletrailers.pyrename to yt_dlp/extractor/appletrailers.pyindex b5ed2b88b3..d3d77a1d0b 100644--- a/youtube_dlc/extractor/appletrailers.py+++ b/yt_dlp/extractor/appletrailers.py@@ -199,7 +199,7 @@ class AppleTrailersIE(InfoExtractor):'upload_date': upload_date,'uploader_id': uploader_id,'http_headers': {- 'User-Agent': 'QuickTime compatible (youtube-dlc)',+ 'User-Agent': 'QuickTime compatible (yt-dlp)',},})diff --git a/youtube_dlc/extractor/archiveorg.py b/yt_dlp/extractor/archiveorg.pysimilarity index 100%rename from youtube_dlc/extractor/archiveorg.pyrename to yt_dlp/extractor/archiveorg.pydiff --git a/youtube_dlc/extractor/arcpublishing.py b/yt_dlp/extractor/arcpublishing.pysimilarity index 100%rename from youtube_dlc/extractor/arcpublishing.pyrename to yt_dlp/extractor/arcpublishing.pydiff --git a/youtube_dlc/extractor/ard.py b/yt_dlp/extractor/ard.pysimilarity index 100%rename from youtube_dlc/extractor/ard.pyrename to yt_dlp/extractor/ard.pydiff --git a/youtube_dlc/extractor/arkena.py b/yt_dlp/extractor/arkena.pysimilarity index 100%rename from youtube_dlc/extractor/arkena.pyrename to yt_dlp/extractor/arkena.pydiff --git a/youtube_dlc/extractor/arte.py b/yt_dlp/extractor/arte.pysimilarity index 100%rename from youtube_dlc/extractor/arte.pyrename to yt_dlp/extractor/arte.pydiff --git a/youtube_dlc/extractor/asiancrush.py b/yt_dlp/extractor/asiancrush.pysimilarity index 100%rename from youtube_dlc/extractor/asiancrush.pyrename to yt_dlp/extractor/asiancrush.pydiff --git a/youtube_dlc/extractor/atresplayer.py b/yt_dlp/extractor/atresplayer.pysimilarity index 100%rename from youtube_dlc/extractor/atresplayer.pyrename to yt_dlp/extractor/atresplayer.pydiff --git a/youtube_dlc/extractor/atttechchannel.py b/yt_dlp/extractor/atttechchannel.pysimilarity index 100%rename from youtube_dlc/extractor/atttechchannel.pyrename to yt_dlp/extractor/atttechchannel.pydiff --git a/youtube_dlc/extractor/atvat.py b/yt_dlp/extractor/atvat.pysimilarity index 100%rename from youtube_dlc/extractor/atvat.pyrename to yt_dlp/extractor/atvat.pydiff --git a/youtube_dlc/extractor/audimedia.py b/yt_dlp/extractor/audimedia.pysimilarity index 100%rename from youtube_dlc/extractor/audimedia.pyrename to yt_dlp/extractor/audimedia.pydiff --git a/youtube_dlc/extractor/audioboom.py b/yt_dlp/extractor/audioboom.pysimilarity index 100%rename from youtube_dlc/extractor/audioboom.pyrename to yt_dlp/extractor/audioboom.pydiff --git a/youtube_dlc/extractor/audiomack.py b/yt_dlp/extractor/audiomack.pysimilarity index 100%rename from youtube_dlc/extractor/audiomack.pyrename to yt_dlp/extractor/audiomack.pydiff --git a/youtube_dlc/extractor/audius.py b/yt_dlp/extractor/audius.pysimilarity index 100%rename from youtube_dlc/extractor/audius.pyrename to yt_dlp/extractor/audius.pydiff --git a/youtube_dlc/extractor/awaan.py b/yt_dlp/extractor/awaan.pysimilarity index 100%rename from youtube_dlc/extractor/awaan.pyrename to yt_dlp/extractor/awaan.pydiff --git a/youtube_dlc/extractor/aws.py b/yt_dlp/extractor/aws.pysimilarity index 100%rename from youtube_dlc/extractor/aws.pyrename to yt_dlp/extractor/aws.pydiff --git a/youtube_dlc/extractor/azmedien.py b/yt_dlp/extractor/azmedien.pysimilarity index 100%rename from youtube_dlc/extractor/azmedien.pyrename to yt_dlp/extractor/azmedien.pydiff --git a/youtube_dlc/extractor/baidu.py b/yt_dlp/extractor/baidu.pysimilarity index 100%rename from youtube_dlc/extractor/baidu.pyrename to yt_dlp/extractor/baidu.pydiff --git a/youtube_dlc/extractor/bandcamp.py b/yt_dlp/extractor/bandcamp.pysimilarity index 100%rename from youtube_dlc/extractor/bandcamp.pyrename to yt_dlp/extractor/bandcamp.pydiff --git a/youtube_dlc/extractor/bbc.py b/yt_dlp/extractor/bbc.pysimilarity index 100%rename from youtube_dlc/extractor/bbc.pyrename to yt_dlp/extractor/bbc.pydiff --git a/youtube_dlc/extractor/beatport.py b/yt_dlp/extractor/beatport.pysimilarity index 100%rename from youtube_dlc/extractor/beatport.pyrename to yt_dlp/extractor/beatport.pydiff --git a/youtube_dlc/extractor/beeg.py b/yt_dlp/extractor/beeg.pysimilarity index 100%rename from youtube_dlc/extractor/beeg.pyrename to yt_dlp/extractor/beeg.pydiff --git a/youtube_dlc/extractor/behindkink.py b/yt_dlp/extractor/behindkink.pysimilarity index 100%rename from youtube_dlc/extractor/behindkink.pyrename to yt_dlp/extractor/behindkink.pydiff --git a/youtube_dlc/extractor/bellmedia.py b/yt_dlp/extractor/bellmedia.pysimilarity index 100%rename from youtube_dlc/extractor/bellmedia.pyrename to yt_dlp/extractor/bellmedia.pydiff --git a/youtube_dlc/extractor/bet.py b/yt_dlp/extractor/bet.pysimilarity index 100%rename from youtube_dlc/extractor/bet.pyrename to yt_dlp/extractor/bet.pydiff --git a/youtube_dlc/extractor/bfi.py b/yt_dlp/extractor/bfi.pysimilarity index 100%rename from youtube_dlc/extractor/bfi.pyrename to yt_dlp/extractor/bfi.pydiff --git a/youtube_dlc/extractor/bfmtv.py b/yt_dlp/extractor/bfmtv.pysimilarity index 100%rename from youtube_dlc/extractor/bfmtv.pyrename to yt_dlp/extractor/bfmtv.pydiff --git a/youtube_dlc/extractor/bibeltv.py b/yt_dlp/extractor/bibeltv.pysimilarity index 100%rename from youtube_dlc/extractor/bibeltv.pyrename to yt_dlp/extractor/bibeltv.pydiff --git a/youtube_dlc/extractor/bigflix.py b/yt_dlp/extractor/bigflix.pysimilarity index 100%rename from youtube_dlc/extractor/bigflix.pyrename to yt_dlp/extractor/bigflix.pydiff --git a/youtube_dlc/extractor/bild.py b/yt_dlp/extractor/bild.pysimilarity index 100%rename from youtube_dlc/extractor/bild.pyrename to yt_dlp/extractor/bild.pydiff --git a/youtube_dlc/extractor/bilibili.py b/yt_dlp/extractor/bilibili.pysimilarity index 99%rename from youtube_dlc/extractor/bilibili.pyrename to yt_dlp/extractor/bilibili.pyindex b04077750f..be117a2bb4 100644--- a/youtube_dlc/extractor/bilibili.py+++ b/yt_dlp/extractor/bilibili.py@@ -153,7 +153,7 @@ class BiliBiliIE(InfoExtractor):webpage, 'player parameters'))['cid'][0]else:if 'no_bangumi_tip' not in smuggled_data:- self.to_screen('Downloading episode %s. To download all videos in anime %s, re-run youtube-dlc with %s' % (+ self.to_screen('Downloading episode %s. To download all videos in anime %s, re-run yt-dlp with %s' % (video_id, anime_id, compat_urlparse.urljoin(url, '//bangumi.bilibili.com/anime/%s' % anime_id)))headers = {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',diff --git a/youtube_dlc/extractor/biobiochiletv.py b/yt_dlp/extractor/biobiochiletv.pysimilarity index 100%rename from youtube_dlc/extractor/biobiochiletv.pyrename to yt_dlp/extractor/biobiochiletv.pydiff --git a/youtube_dlc/extractor/biqle.py b/yt_dlp/extractor/biqle.pysimilarity index 100%rename from youtube_dlc/extractor/biqle.pyrename to yt_dlp/extractor/biqle.pydiff --git a/youtube_dlc/extractor/bitchute.py b/yt_dlp/extractor/bitchute.pysimilarity index 100%rename from youtube_dlc/extractor/bitchute.pyrename to yt_dlp/extractor/bitchute.pydiff --git a/youtube_dlc/extractor/bitwave.py b/yt_dlp/extractor/bitwave.pysimilarity index 100%rename from youtube_dlc/extractor/bitwave.pyrename to yt_dlp/extractor/bitwave.pydiff --git a/youtube_dlc/extractor/bleacherreport.py b/yt_dlp/extractor/bleacherreport.pysimilarity index 100%rename from youtube_dlc/extractor/bleacherreport.pyrename to yt_dlp/extractor/bleacherreport.pydiff --git a/youtube_dlc/extractor/blinkx.py b/yt_dlp/extractor/blinkx.pysimilarity index 100%rename from youtube_dlc/extractor/blinkx.pyrename to yt_dlp/extractor/blinkx.pydiff --git a/youtube_dlc/extractor/bloomberg.py b/yt_dlp/extractor/bloomberg.pysimilarity index 100%rename from youtube_dlc/extractor/bloomberg.pyrename to yt_dlp/extractor/bloomberg.pydiff --git a/youtube_dlc/extractor/bokecc.py b/yt_dlp/extractor/bokecc.pysimilarity index 100%rename from youtube_dlc/extractor/bokecc.pyrename to yt_dlp/extractor/bokecc.pydiff --git a/youtube_dlc/extractor/bongacams.py b/yt_dlp/extractor/bongacams.pysimilarity index 100%rename from youtube_dlc/extractor/bongacams.pyrename to yt_dlp/extractor/bongacams.pydiff --git a/youtube_dlc/extractor/bostonglobe.py b/yt_dlp/extractor/bostonglobe.pysimilarity index 100%rename from youtube_dlc/extractor/bostonglobe.pyrename to yt_dlp/extractor/bostonglobe.pydiff --git a/youtube_dlc/extractor/box.py b/yt_dlp/extractor/box.pysimilarity index 100%rename from youtube_dlc/extractor/box.pyrename to yt_dlp/extractor/box.pydiff --git a/youtube_dlc/extractor/bpb.py b/yt_dlp/extractor/bpb.pysimilarity index 100%rename from youtube_dlc/extractor/bpb.pyrename to yt_dlp/extractor/bpb.pydiff --git a/youtube_dlc/extractor/br.py b/yt_dlp/extractor/br.pysimilarity index 100%rename from youtube_dlc/extractor/br.pyrename to yt_dlp/extractor/br.pydiff --git a/youtube_dlc/extractor/bravotv.py b/yt_dlp/extractor/bravotv.pysimilarity index 100%rename from youtube_dlc/extractor/bravotv.pyrename to yt_dlp/extractor/bravotv.pydiff --git a/youtube_dlc/extractor/breakcom.py b/yt_dlp/extractor/breakcom.pysimilarity index 100%rename from youtube_dlc/extractor/breakcom.pyrename to yt_dlp/extractor/breakcom.pydiff --git a/youtube_dlc/extractor/brightcove.py b/yt_dlp/extractor/brightcove.pysimilarity index 100%rename from youtube_dlc/extractor/brightcove.pyrename to yt_dlp/extractor/brightcove.pydiff --git a/youtube_dlc/extractor/businessinsider.py b/yt_dlp/extractor/businessinsider.pysimilarity index 100%rename from youtube_dlc/extractor/businessinsider.pyrename to yt_dlp/extractor/businessinsider.pydiff --git a/youtube_dlc/extractor/buzzfeed.py b/yt_dlp/extractor/buzzfeed.pysimilarity index 100%rename from youtube_dlc/extractor/buzzfeed.pyrename to yt_dlp/extractor/buzzfeed.pydiff --git a/youtube_dlc/extractor/byutv.py b/yt_dlp/extractor/byutv.pysimilarity index 100%rename from youtube_dlc/extractor/byutv.pyrename to yt_dlp/extractor/byutv.pydiff --git a/youtube_dlc/extractor/c56.py b/yt_dlp/extractor/c56.pysimilarity index 100%rename from youtube_dlc/extractor/c56.pyrename to yt_dlp/extractor/c56.pydiff --git a/youtube_dlc/extractor/camdemy.py b/yt_dlp/extractor/camdemy.pysimilarity index 100%rename from youtube_dlc/extractor/camdemy.pyrename to yt_dlp/extractor/camdemy.pydiff --git a/youtube_dlc/extractor/cammodels.py b/yt_dlp/extractor/cammodels.pysimilarity index 100%rename from youtube_dlc/extractor/cammodels.pyrename to yt_dlp/extractor/cammodels.pydiff --git a/youtube_dlc/extractor/camtube.py b/yt_dlp/extractor/camtube.pysimilarity index 100%rename from youtube_dlc/extractor/camtube.pyrename to yt_dlp/extractor/camtube.pydiff --git a/youtube_dlc/extractor/camwithher.py b/yt_dlp/extractor/camwithher.pysimilarity index 100%rename from youtube_dlc/extractor/camwithher.pyrename to yt_dlp/extractor/camwithher.pydiff --git a/youtube_dlc/extractor/canalc2.py b/yt_dlp/extractor/canalc2.pysimilarity index 100%rename from youtube_dlc/extractor/canalc2.pyrename to yt_dlp/extractor/canalc2.pydiff --git a/youtube_dlc/extractor/canalplus.py b/yt_dlp/extractor/canalplus.pysimilarity index 100%rename from youtube_dlc/extractor/canalplus.pyrename to yt_dlp/extractor/canalplus.pydiff --git a/youtube_dlc/extractor/canvas.py b/yt_dlp/extractor/canvas.pysimilarity index 100%rename from youtube_dlc/extractor/canvas.pyrename to yt_dlp/extractor/canvas.pydiff --git a/youtube_dlc/extractor/carambatv.py b/yt_dlp/extractor/carambatv.pysimilarity index 100%rename from youtube_dlc/extractor/carambatv.pyrename to yt_dlp/extractor/carambatv.pydiff --git a/youtube_dlc/extractor/cartoonnetwork.py b/yt_dlp/extractor/cartoonnetwork.pysimilarity index 100%rename from youtube_dlc/extractor/cartoonnetwork.pyrename to yt_dlp/extractor/cartoonnetwork.pydiff --git a/youtube_dlc/extractor/cbc.py b/yt_dlp/extractor/cbc.pysimilarity index 100%rename from youtube_dlc/extractor/cbc.pyrename to yt_dlp/extractor/cbc.pydiff --git a/youtube_dlc/extractor/cbs.py b/yt_dlp/extractor/cbs.pysimilarity index 100%rename from youtube_dlc/extractor/cbs.pyrename to yt_dlp/extractor/cbs.pydiff --git a/youtube_dlc/extractor/cbsinteractive.py b/yt_dlp/extractor/cbsinteractive.pysimilarity index 100%rename from youtube_dlc/extractor/cbsinteractive.pyrename to yt_dlp/extractor/cbsinteractive.pydiff --git a/youtube_dlc/extractor/cbslocal.py b/yt_dlp/extractor/cbslocal.pysimilarity index 100%rename from youtube_dlc/extractor/cbslocal.pyrename to yt_dlp/extractor/cbslocal.pydiff --git a/youtube_dlc/extractor/cbsnews.py b/yt_dlp/extractor/cbsnews.pysimilarity index 100%rename from youtube_dlc/extractor/cbsnews.pyrename to yt_dlp/extractor/cbsnews.pydiff --git a/youtube_dlc/extractor/cbssports.py b/yt_dlp/extractor/cbssports.pysimilarity index 100%rename from youtube_dlc/extractor/cbssports.pyrename to yt_dlp/extractor/cbssports.pydiff --git a/youtube_dlc/extractor/ccc.py b/yt_dlp/extractor/ccc.pysimilarity index 100%rename from youtube_dlc/extractor/ccc.pyrename to yt_dlp/extractor/ccc.pydiff --git a/youtube_dlc/extractor/ccma.py b/yt_dlp/extractor/ccma.pysimilarity index 100%rename from youtube_dlc/extractor/ccma.pyrename to yt_dlp/extractor/ccma.pydiff --git a/youtube_dlc/extractor/cctv.py b/yt_dlp/extractor/cctv.pysimilarity index 100%rename from youtube_dlc/extractor/cctv.pyrename to yt_dlp/extractor/cctv.pydiff --git a/youtube_dlc/extractor/cda.py b/yt_dlp/extractor/cda.pysimilarity index 100%rename from youtube_dlc/extractor/cda.pyrename to yt_dlp/extractor/cda.pydiff --git a/youtube_dlc/extractor/ceskatelevize.py b/yt_dlp/extractor/ceskatelevize.pysimilarity index 100%rename from youtube_dlc/extractor/ceskatelevize.pyrename to yt_dlp/extractor/ceskatelevize.pydiff --git a/youtube_dlc/extractor/channel9.py b/yt_dlp/extractor/channel9.pysimilarity index 100%rename from youtube_dlc/extractor/channel9.pyrename to yt_dlp/extractor/channel9.pydiff --git a/youtube_dlc/extractor/charlierose.py b/yt_dlp/extractor/charlierose.pysimilarity index 100%rename from youtube_dlc/extractor/charlierose.pyrename to yt_dlp/extractor/charlierose.pydiff --git a/youtube_dlc/extractor/chaturbate.py b/yt_dlp/extractor/chaturbate.pysimilarity index 100%rename from youtube_dlc/extractor/chaturbate.pyrename to yt_dlp/extractor/chaturbate.pydiff --git a/youtube_dlc/extractor/chilloutzone.py b/yt_dlp/extractor/chilloutzone.pysimilarity index 100%rename from youtube_dlc/extractor/chilloutzone.pyrename to yt_dlp/extractor/chilloutzone.pydiff --git a/youtube_dlc/extractor/chirbit.py b/yt_dlp/extractor/chirbit.pysimilarity index 100%rename from youtube_dlc/extractor/chirbit.pyrename to yt_dlp/extractor/chirbit.pydiff --git a/youtube_dlc/extractor/cinchcast.py b/yt_dlp/extractor/cinchcast.pysimilarity index 100%rename from youtube_dlc/extractor/cinchcast.pyrename to yt_dlp/extractor/cinchcast.pydiff --git a/youtube_dlc/extractor/cinemax.py b/yt_dlp/extractor/cinemax.pysimilarity index 100%rename from youtube_dlc/extractor/cinemax.pyrename to yt_dlp/extractor/cinemax.pydiff --git a/youtube_dlc/extractor/ciscolive.py b/yt_dlp/extractor/ciscolive.pysimilarity index 100%rename from youtube_dlc/extractor/ciscolive.pyrename to yt_dlp/extractor/ciscolive.pydiff --git a/youtube_dlc/extractor/cjsw.py b/yt_dlp/extractor/cjsw.pysimilarity index 100%rename from youtube_dlc/extractor/cjsw.pyrename to yt_dlp/extractor/cjsw.pydiff --git a/youtube_dlc/extractor/cliphunter.py b/yt_dlp/extractor/cliphunter.pysimilarity index 100%rename from youtube_dlc/extractor/cliphunter.pyrename to yt_dlp/extractor/cliphunter.pydiff --git a/youtube_dlc/extractor/clippit.py b/yt_dlp/extractor/clippit.pysimilarity index 100%rename from youtube_dlc/extractor/clippit.pyrename to yt_dlp/extractor/clippit.pydiff --git a/youtube_dlc/extractor/cliprs.py b/yt_dlp/extractor/cliprs.pysimilarity index 100%rename from youtube_dlc/extractor/cliprs.pyrename to yt_dlp/extractor/cliprs.pydiff --git a/youtube_dlc/extractor/clipsyndicate.py b/yt_dlp/extractor/clipsyndicate.pysimilarity index 100%rename from youtube_dlc/extractor/clipsyndicate.pyrename to yt_dlp/extractor/clipsyndicate.pydiff --git a/youtube_dlc/extractor/closertotruth.py b/yt_dlp/extractor/closertotruth.pysimilarity index 100%rename from youtube_dlc/extractor/closertotruth.pyrename to yt_dlp/extractor/closertotruth.pydiff --git a/youtube_dlc/extractor/cloudflarestream.py b/yt_dlp/extractor/cloudflarestream.pysimilarity index 100%rename from youtube_dlc/extractor/cloudflarestream.pyrename to yt_dlp/extractor/cloudflarestream.pydiff --git a/youtube_dlc/extractor/cloudy.py b/yt_dlp/extractor/cloudy.pysimilarity index 100%rename from youtube_dlc/extractor/cloudy.pyrename to yt_dlp/extractor/cloudy.pydiff --git a/youtube_dlc/extractor/clubic.py b/yt_dlp/extractor/clubic.pysimilarity index 100%rename from youtube_dlc/extractor/clubic.pyrename to yt_dlp/extractor/clubic.pydiff --git a/youtube_dlc/extractor/clyp.py b/yt_dlp/extractor/clyp.pysimilarity index 100%rename from youtube_dlc/extractor/clyp.pyrename to yt_dlp/extractor/clyp.pydiff --git a/youtube_dlc/extractor/cmt.py b/yt_dlp/extractor/cmt.pysimilarity index 100%rename from youtube_dlc/extractor/cmt.pyrename to yt_dlp/extractor/cmt.pydiff --git a/youtube_dlc/extractor/cnbc.py b/yt_dlp/extractor/cnbc.pysimilarity index 100%rename from youtube_dlc/extractor/cnbc.pyrename to yt_dlp/extractor/cnbc.pydiff --git a/youtube_dlc/extractor/cnn.py b/yt_dlp/extractor/cnn.pysimilarity index 100%rename from youtube_dlc/extractor/cnn.pyrename to yt_dlp/extractor/cnn.pydiff --git a/youtube_dlc/extractor/comedycentral.py b/yt_dlp/extractor/comedycentral.pysimilarity index 100%rename from youtube_dlc/extractor/comedycentral.pyrename to yt_dlp/extractor/comedycentral.pydiff --git a/youtube_dlc/extractor/common.py b/yt_dlp/extractor/common.pysimilarity index 99%rename from youtube_dlc/extractor/common.pyrename to yt_dlp/extractor/common.pyindex edfa99975d..b03582f54d 100644--- a/youtube_dlc/extractor/common.py+++ b/yt_dlp/extractor/common.py@@ -272,7 +272,7 @@ class InfoExtractor(object):Set to "root" to indicate that this is acomment to the original video.age_limit: Age restriction for the video, as an integer (years)- webpage_url: The URL to the video webpage, if given to youtube-dlc it+ webpage_url: The URL to the video webpage, if given to yt-dlp itshould allow to get the same result again. (It will be setby YoutubeDL if it's missing)categories: A list of categories that the video falls in, for example@@ -1723,7 +1723,7 @@ class InfoExtractor(object):if not isinstance(manifest, compat_etree_Element) and not fatal:return []- # currently youtube-dlc cannot decode the playerVerificationChallenge as Akamai uses Adobe Alchemy+ # currently yt-dlp cannot decode the playerVerificationChallenge as Akamai uses Adobe Alchemyakamai_pv = manifest.find('{http://ns.adobe.com/f4m/1.0}pv-2.0')if akamai_pv is not None and ';' in akamai_pv.text:playerVerificationChallenge = akamai_pv.text.split(';')[0]diff --git a/youtube_dlc/extractor/commonmistakes.py b/yt_dlp/extractor/commonmistakes.pysimilarity index 92%rename from youtube_dlc/extractor/commonmistakes.pyrename to yt_dlp/extractor/commonmistakes.pyindex 933b89eb3e..593ff18350 100644--- a/youtube_dlc/extractor/commonmistakes.py+++ b/yt_dlp/extractor/commonmistakes.py@@ -22,12 +22,12 @@ class CommonMistakesIE(InfoExtractor):def _real_extract(self, url):msg = (- 'You\'ve asked youtube-dlc to download the URL "%s". '+ 'You\'ve asked yt-dlp to download the URL "%s". ''That doesn\'t make any sense. ''Simply remove the parameter in your command or configuration.') % urlif not self._downloader.params.get('verbose'):- msg += ' Add -v to the command line to see what arguments and configuration youtube-dlc got.'+ msg += ' Add -v to the command line to see what arguments and configuration yt-dlp got.'raise ExtractorError(msg, expected=True)diff --git a/youtube_dlc/extractor/commonprotocols.py b/yt_dlp/extractor/commonprotocols.pysimilarity index 100%rename from youtube_dlc/extractor/commonprotocols.pyrename to yt_dlp/extractor/commonprotocols.pydiff --git a/youtube_dlc/extractor/condenast.py b/yt_dlp/extractor/condenast.pysimilarity index 100%rename from youtube_dlc/extractor/condenast.pyrename to yt_dlp/extractor/condenast.pydiff --git a/youtube_dlc/extractor/contv.py b/yt_dlp/extractor/contv.pysimilarity index 100%rename from youtube_dlc/extractor/contv.pyrename to yt_dlp/extractor/contv.pydiff --git a/youtube_dlc/extractor/corus.py b/yt_dlp/extractor/corus.pysimilarity index 100%rename from youtube_dlc/extractor/corus.pyrename to yt_dlp/extractor/corus.pydiff --git a/youtube_dlc/extractor/coub.py b/yt_dlp/extractor/coub.pysimilarity index 100%rename from youtube_dlc/extractor/coub.pyrename to yt_dlp/extractor/coub.pydiff --git a/youtube_dlc/extractor/cracked.py b/yt_dlp/extractor/cracked.pysimilarity index 100%rename from youtube_dlc/extractor/cracked.pyrename to yt_dlp/extractor/cracked.pydiff --git a/youtube_dlc/extractor/crackle.py b/yt_dlp/extractor/crackle.pysimilarity index 100%rename from youtube_dlc/extractor/crackle.pyrename to yt_dlp/extractor/crackle.pydiff --git a/youtube_dlc/extractor/crooksandliars.py b/yt_dlp/extractor/crooksandliars.pysimilarity index 100%rename from youtube_dlc/extractor/crooksandliars.pyrename to yt_dlp/extractor/crooksandliars.pydiff --git a/youtube_dlc/extractor/crunchyroll.py b/yt_dlp/extractor/crunchyroll.pysimilarity index 100%rename from youtube_dlc/extractor/crunchyroll.pyrename to yt_dlp/extractor/crunchyroll.pydiff --git a/youtube_dlc/extractor/cspan.py b/yt_dlp/extractor/cspan.pysimilarity index 100%rename from youtube_dlc/extractor/cspan.pyrename to yt_dlp/extractor/cspan.pydiff --git a/youtube_dlc/extractor/ctsnews.py b/yt_dlp/extractor/ctsnews.pysimilarity index 100%rename from youtube_dlc/extractor/ctsnews.pyrename to yt_dlp/extractor/ctsnews.pydiff --git a/youtube_dlc/extractor/ctv.py b/yt_dlp/extractor/ctv.pysimilarity index 100%rename from youtube_dlc/extractor/ctv.pyrename to yt_dlp/extractor/ctv.pydiff --git a/youtube_dlc/extractor/ctvnews.py b/yt_dlp/extractor/ctvnews.pysimilarity index 100%rename from youtube_dlc/extractor/ctvnews.pyrename to yt_dlp/extractor/ctvnews.pydiff --git a/youtube_dlc/extractor/cultureunplugged.py b/yt_dlp/extractor/cultureunplugged.pysimilarity index 100%rename from youtube_dlc/extractor/cultureunplugged.pyrename to yt_dlp/extractor/cultureunplugged.pydiff --git a/youtube_dlc/extractor/curiositystream.py b/yt_dlp/extractor/curiositystream.pysimilarity index 100%rename from youtube_dlc/extractor/curiositystream.pyrename to yt_dlp/extractor/curiositystream.pydiff --git a/youtube_dlc/extractor/cwtv.py b/yt_dlp/extractor/cwtv.pysimilarity index 100%rename from youtube_dlc/extractor/cwtv.pyrename to yt_dlp/extractor/cwtv.pydiff --git a/youtube_dlc/extractor/dailymail.py b/yt_dlp/extractor/dailymail.pysimilarity index 100%rename from youtube_dlc/extractor/dailymail.pyrename to yt_dlp/extractor/dailymail.pydiff --git a/youtube_dlc/extractor/dailymotion.py b/yt_dlp/extractor/dailymotion.pysimilarity index 100%rename from youtube_dlc/extractor/dailymotion.pyrename to yt_dlp/extractor/dailymotion.pydiff --git a/youtube_dlc/extractor/daum.py b/yt_dlp/extractor/daum.pysimilarity index 100%rename from youtube_dlc/extractor/daum.pyrename to yt_dlp/extractor/daum.pydiff --git a/youtube_dlc/extractor/dbtv.py b/yt_dlp/extractor/dbtv.pysimilarity index 100%rename from youtube_dlc/extractor/dbtv.pyrename to yt_dlp/extractor/dbtv.pydiff --git a/youtube_dlc/extractor/dctp.py b/yt_dlp/extractor/dctp.pysimilarity index 100%rename from youtube_dlc/extractor/dctp.pyrename to yt_dlp/extractor/dctp.pydiff --git a/youtube_dlc/extractor/deezer.py b/yt_dlp/extractor/deezer.pysimilarity index 100%rename from youtube_dlc/extractor/deezer.pyrename to yt_dlp/extractor/deezer.pydiff --git a/youtube_dlc/extractor/defense.py b/yt_dlp/extractor/defense.pysimilarity index 100%rename from youtube_dlc/extractor/defense.pyrename to yt_dlp/extractor/defense.pydiff --git a/youtube_dlc/extractor/democracynow.py b/yt_dlp/extractor/democracynow.pysimilarity index 100%rename from youtube_dlc/extractor/democracynow.pyrename to yt_dlp/extractor/democracynow.pydiff --git a/youtube_dlc/extractor/dfb.py b/yt_dlp/extractor/dfb.pysimilarity index 100%rename from youtube_dlc/extractor/dfb.pyrename to yt_dlp/extractor/dfb.pydiff --git a/youtube_dlc/extractor/dhm.py b/yt_dlp/extractor/dhm.pysimilarity index 100%rename from youtube_dlc/extractor/dhm.pyrename to yt_dlp/extractor/dhm.pydiff --git a/youtube_dlc/extractor/digg.py b/yt_dlp/extractor/digg.pysimilarity index 100%rename from youtube_dlc/extractor/digg.pyrename to yt_dlp/extractor/digg.pydiff --git a/youtube_dlc/extractor/digiteka.py b/yt_dlp/extractor/digiteka.pysimilarity index 100%rename from youtube_dlc/extractor/digiteka.pyrename to yt_dlp/extractor/digiteka.pydiff --git a/youtube_dlc/extractor/discovery.py b/yt_dlp/extractor/discovery.pysimilarity index 100%rename from youtube_dlc/extractor/discovery.pyrename to yt_dlp/extractor/discovery.pydiff --git a/youtube_dlc/extractor/discoverygo.py b/yt_dlp/extractor/discoverygo.pysimilarity index 100%rename from youtube_dlc/extractor/discoverygo.pyrename to yt_dlp/extractor/discoverygo.pydiff --git a/youtube_dlc/extractor/discoverynetworks.py b/yt_dlp/extractor/discoverynetworks.pysimilarity index 100%rename from youtube_dlc/extractor/discoverynetworks.pyrename to yt_dlp/extractor/discoverynetworks.pydiff --git a/youtube_dlc/extractor/discoveryvr.py b/yt_dlp/extractor/discoveryvr.pysimilarity index 100%rename from youtube_dlc/extractor/discoveryvr.pyrename to yt_dlp/extractor/discoveryvr.pydiff --git a/youtube_dlc/extractor/disney.py b/yt_dlp/extractor/disney.pysimilarity index 100%rename from youtube_dlc/extractor/disney.pyrename to yt_dlp/extractor/disney.pydiff --git a/youtube_dlc/extractor/dispeak.py b/yt_dlp/extractor/dispeak.pysimilarity index 100%rename from youtube_dlc/extractor/dispeak.pyrename to yt_dlp/extractor/dispeak.pydiff --git a/youtube_dlc/extractor/dlive.py b/yt_dlp/extractor/dlive.pysimilarity index 100%rename from youtube_dlc/extractor/dlive.pyrename to yt_dlp/extractor/dlive.pydiff --git a/youtube_dlc/extractor/doodstream.py b/yt_dlp/extractor/doodstream.pysimilarity index 100%rename from youtube_dlc/extractor/doodstream.pyrename to yt_dlp/extractor/doodstream.pydiff --git a/youtube_dlc/extractor/dotsub.py b/yt_dlp/extractor/dotsub.pysimilarity index 100%rename from youtube_dlc/extractor/dotsub.pyrename to yt_dlp/extractor/dotsub.pydiff --git a/youtube_dlc/extractor/douyutv.py b/yt_dlp/extractor/douyutv.pysimilarity index 100%rename from youtube_dlc/extractor/douyutv.pyrename to yt_dlp/extractor/douyutv.pydiff --git a/youtube_dlc/extractor/dplay.py b/yt_dlp/extractor/dplay.pysimilarity index 100%rename from youtube_dlc/extractor/dplay.pyrename to yt_dlp/extractor/dplay.pydiff --git a/youtube_dlc/extractor/drbonanza.py b/yt_dlp/extractor/drbonanza.pysimilarity index 100%rename from youtube_dlc/extractor/drbonanza.pyrename to yt_dlp/extractor/drbonanza.pydiff --git a/youtube_dlc/extractor/dreisat.py b/yt_dlp/extractor/dreisat.pysimilarity index 100%rename from youtube_dlc/extractor/dreisat.pyrename to yt_dlp/extractor/dreisat.pydiff --git a/youtube_dlc/extractor/dropbox.py b/yt_dlp/extractor/dropbox.pysimilarity index 90%rename from youtube_dlc/extractor/dropbox.pyrename to yt_dlp/extractor/dropbox.pyindex 9dc6614c58..14b6c00b0b 100644--- a/youtube_dlc/extractor/dropbox.py+++ b/yt_dlp/extractor/dropbox.py@@ -13,11 +13,11 @@ class DropboxIE(InfoExtractor):_VALID_URL = r'https?://(?:www\.)?dropbox[.]com/sh?/(?P<id>[a-zA-Z0-9]{15})/.*'_TESTS = [{- 'url': 'https://www.dropbox.com/s/nelirfsxnmcfbfh/youtube-dlc%20test%20video%20%27%C3%A4%22BaW_jenozKc.mp4?dl=0',+ 'url': 'https://www.dropbox.com/s/nelirfsxnmcfbfh/youtube-dl%20test%20video%20%27%C3%A4%22BaW_jenozKc.mp4?dl=0','info_dict': {'id': 'nelirfsxnmcfbfh','ext': 'mp4',- 'title': 'youtube-dlc test video \'ä"BaW_jenozKc'+ 'title': 'youtube-dl test video \'ä"BaW_jenozKc'}}, {'url': 'https://www.dropbox.com/sh/662glsejgzoj9sr/AAByil3FGH9KFNZ13e08eSa1a/Pregame%20Ceremony%20Program%20PA%2020140518.m4v',diff --git a/youtube_dlc/extractor/drtuber.py b/yt_dlp/extractor/drtuber.pysimilarity index 100%rename from youtube_dlc/extractor/drtuber.pyrename to yt_dlp/extractor/drtuber.pydiff --git a/youtube_dlc/extractor/drtv.py b/yt_dlp/extractor/drtv.pysimilarity index 100%rename from youtube_dlc/extractor/drtv.pyrename to yt_dlp/extractor/drtv.pydiff --git a/youtube_dlc/extractor/dtube.py b/yt_dlp/extractor/dtube.pysimilarity index 100%rename from youtube_dlc/extractor/dtube.pyrename to yt_dlp/extractor/dtube.pydiff --git a/youtube_dlc/extractor/duboku.py b/yt_dlp/extractor/duboku.pysimilarity index 100%rename from youtube_dlc/extractor/duboku.pyrename to yt_dlp/extractor/duboku.pydiff --git a/youtube_dlc/extractor/dumpert.py b/yt_dlp/extractor/dumpert.pysimilarity index 100%rename from youtube_dlc/extractor/dumpert.pyrename to yt_dlp/extractor/dumpert.pydiff --git a/youtube_dlc/extractor/dvtv.py b/yt_dlp/extractor/dvtv.pysimilarity index 100%rename from youtube_dlc/extractor/dvtv.pyrename to yt_dlp/extractor/dvtv.pydiff --git a/youtube_dlc/extractor/dw.py b/yt_dlp/extractor/dw.pysimilarity index 100%rename from youtube_dlc/extractor/dw.pyrename to yt_dlp/extractor/dw.pydiff --git a/youtube_dlc/extractor/eagleplatform.py b/yt_dlp/extractor/eagleplatform.pysimilarity index 100%rename from youtube_dlc/extractor/eagleplatform.pyrename to yt_dlp/extractor/eagleplatform.pydiff --git a/youtube_dlc/extractor/ebaumsworld.py b/yt_dlp/extractor/ebaumsworld.pysimilarity index 100%rename from youtube_dlc/extractor/ebaumsworld.pyrename to yt_dlp/extractor/ebaumsworld.pydiff --git a/youtube_dlc/extractor/echomsk.py b/yt_dlp/extractor/echomsk.pysimilarity index 100%rename from youtube_dlc/extractor/echomsk.pyrename to yt_dlp/extractor/echomsk.pydiff --git a/youtube_dlc/extractor/egghead.py b/yt_dlp/extractor/egghead.pysimilarity index 100%rename from youtube_dlc/extractor/egghead.pyrename to yt_dlp/extractor/egghead.pydiff --git a/youtube_dlc/extractor/ehow.py b/yt_dlp/extractor/ehow.pysimilarity index 100%rename from youtube_dlc/extractor/ehow.pyrename to yt_dlp/extractor/ehow.pydiff --git a/youtube_dlc/extractor/eighttracks.py b/yt_dlp/extractor/eighttracks.pysimilarity index 85%rename from youtube_dlc/extractor/eighttracks.pyrename to yt_dlp/extractor/eighttracks.pyindex 5ededd31da..9a44f89f3f 100644--- a/youtube_dlc/extractor/eighttracks.py+++ b/yt_dlp/extractor/eighttracks.py@@ -18,12 +18,12 @@ class EightTracksIE(InfoExtractor):_VALID_URL = r'https?://8tracks\.com/(?P<user>[^/]+)/(?P<id>[^/#]+)(?:#.*)?$'_TEST = {'name': 'EightTracks',- 'url': 'http://8tracks.com/ytdl/youtube-dlc-test-tracks-a',+ 'url': 'http://8tracks.com/ytdl/youtube-dl-test-tracks-a','info_dict': {'id': '1336550',- 'display_id': 'youtube-dlc-test-tracks-a',+ 'display_id': 'youtube-dl-test-tracks-a','description': "test chars: \"'/\\ä↭",- 'title': "youtube-dlc test tracks \"'/\\ä↭<>",+ 'title': "youtube-dl test tracks \"'/\\ä↭<>",},'playlist': [{@@ -31,7 +31,7 @@ class EightTracksIE(InfoExtractor):'info_dict': {'id': '11885610','ext': 'm4a',- 'title': "youtue-dl project<>\"' - youtube-dlc test track 1 \"'/\\\u00e4\u21ad",+ 'title': "youtue-dl project<>\"' - youtube-dl test track 1 \"'/\\\u00e4\u21ad",'uploader_id': 'ytdl'}},@@ -40,7 +40,7 @@ class EightTracksIE(InfoExtractor):'info_dict': {'id': '11885608','ext': 'm4a',- 'title': "youtube-dlc project - youtube-dlc test track 2 \"'/\\\u00e4\u21ad",+ 'title': "youtube-dl project - youtube-dl test track 2 \"'/\\\u00e4\u21ad",'uploader_id': 'ytdl'}},@@ -49,7 +49,7 @@ class EightTracksIE(InfoExtractor):'info_dict': {'id': '11885679','ext': 'm4a',- 'title': "youtube-dlc project as well - youtube-dlc test track 3 \"'/\\\u00e4\u21ad",+ 'title': "youtube-dl project as well - youtube-dl test track 3 \"'/\\\u00e4\u21ad",'uploader_id': 'ytdl'}},@@ -58,7 +58,7 @@ class EightTracksIE(InfoExtractor):'info_dict': {'id': '11885680','ext': 'm4a',- 'title': "youtube-dlc project as well - youtube-dlc test track 4 \"'/\\\u00e4\u21ad",+ 'title': "youtube-dl project as well - youtube-dl test track 4 \"'/\\\u00e4\u21ad",'uploader_id': 'ytdl'}},@@ -67,7 +67,7 @@ class EightTracksIE(InfoExtractor):'info_dict': {'id': '11885682','ext': 'm4a',- 'title': "PH - youtube-dlc test track 5 \"'/\\\u00e4\u21ad",+ 'title': "PH - youtube-dl test track 5 \"'/\\\u00e4\u21ad",'uploader_id': 'ytdl'}},@@ -76,7 +76,7 @@ class EightTracksIE(InfoExtractor):'info_dict': {'id': '11885683','ext': 'm4a',- 'title': "PH - youtube-dlc test track 6 \"'/\\\u00e4\u21ad",+ 'title': "PH - youtube-dl test track 6 \"'/\\\u00e4\u21ad",'uploader_id': 'ytdl'}},@@ -85,7 +85,7 @@ class EightTracksIE(InfoExtractor):'info_dict': {'id': '11885684','ext': 'm4a',- 'title': "phihag - youtube-dlc test track 7 \"'/\\\u00e4\u21ad",+ 'title': "phihag - youtube-dl test track 7 \"'/\\\u00e4\u21ad",'uploader_id': 'ytdl'}},@@ -94,7 +94,7 @@ class EightTracksIE(InfoExtractor):'info_dict': {'id': '11885685','ext': 'm4a',- 'title': "phihag - youtube-dlc test track 8 \"'/\\\u00e4\u21ad",+ 'title': "phihag - youtube-dl test track 8 \"'/\\\u00e4\u21ad",'uploader_id': 'ytdl'}}diff --git a/youtube_dlc/extractor/einthusan.py b/yt_dlp/extractor/einthusan.pysimilarity index 100%rename from youtube_dlc/extractor/einthusan.pyrename to yt_dlp/extractor/einthusan.pydiff --git a/youtube_dlc/extractor/eitb.py b/yt_dlp/extractor/eitb.pysimilarity index 100%rename from youtube_dlc/extractor/eitb.pyrename to yt_dlp/extractor/eitb.pydiff --git a/youtube_dlc/extractor/ellentube.py b/yt_dlp/extractor/ellentube.pysimilarity index 100%rename from youtube_dlc/extractor/ellentube.pyrename to yt_dlp/extractor/ellentube.pydiff --git a/youtube_dlc/extractor/elonet.py b/yt_dlp/extractor/elonet.pysimilarity index 100%rename from youtube_dlc/extractor/elonet.pyrename to yt_dlp/extractor/elonet.pydiff --git a/youtube_dlc/extractor/elpais.py b/yt_dlp/extractor/elpais.pysimilarity index 100%rename from youtube_dlc/extractor/elpais.pyrename to yt_dlp/extractor/elpais.pydiff --git a/youtube_dlc/extractor/embedly.py b/yt_dlp/extractor/embedly.pysimilarity index 100%rename from youtube_dlc/extractor/embedly.pyrename to yt_dlp/extractor/embedly.pydiff --git a/youtube_dlc/extractor/engadget.py b/yt_dlp/extractor/engadget.pysimilarity index 100%rename from youtube_dlc/extractor/engadget.pyrename to yt_dlp/extractor/engadget.pydiff --git a/youtube_dlc/extractor/eporner.py b/yt_dlp/extractor/eporner.pysimilarity index 100%rename from youtube_dlc/extractor/eporner.pyrename to yt_dlp/extractor/eporner.pydiff --git a/youtube_dlc/extractor/eroprofile.py b/yt_dlp/extractor/eroprofile.pysimilarity index 100%rename from youtube_dlc/extractor/eroprofile.pyrename to yt_dlp/extractor/eroprofile.pydiff --git a/youtube_dlc/extractor/escapist.py b/yt_dlp/extractor/escapist.pysimilarity index 100%rename from youtube_dlc/extractor/escapist.pyrename to yt_dlp/extractor/escapist.pydiff --git a/youtube_dlc/extractor/espn.py b/yt_dlp/extractor/espn.pysimilarity index 100%rename from youtube_dlc/extractor/espn.pyrename to yt_dlp/extractor/espn.pydiff --git a/youtube_dlc/extractor/esri.py b/yt_dlp/extractor/esri.pysimilarity index 100%rename from youtube_dlc/extractor/esri.pyrename to yt_dlp/extractor/esri.pydiff --git a/youtube_dlc/extractor/europa.py b/yt_dlp/extractor/europa.pysimilarity index 100%rename from youtube_dlc/extractor/europa.pyrename to yt_dlp/extractor/europa.pydiff --git a/youtube_dlc/extractor/everyonesmixtape.py b/yt_dlp/extractor/everyonesmixtape.pysimilarity index 100%rename from youtube_dlc/extractor/everyonesmixtape.pyrename to yt_dlp/extractor/everyonesmixtape.pydiff --git a/youtube_dlc/extractor/expotv.py b/yt_dlp/extractor/expotv.pysimilarity index 100%rename from youtube_dlc/extractor/expotv.pyrename to yt_dlp/extractor/expotv.pydiff --git a/youtube_dlc/extractor/expressen.py b/yt_dlp/extractor/expressen.pysimilarity index 100%rename from youtube_dlc/extractor/expressen.pyrename to yt_dlp/extractor/expressen.pydiff --git a/youtube_dlc/extractor/extractors.py b/yt_dlp/extractor/extractors.pysimilarity index 100%rename from youtube_dlc/extractor/extractors.pyrename to yt_dlp/extractor/extractors.pydiff --git a/youtube_dlc/extractor/extremetube.py b/yt_dlp/extractor/extremetube.pysimilarity index 100%rename from youtube_dlc/extractor/extremetube.pyrename to yt_dlp/extractor/extremetube.pydiff --git a/youtube_dlc/extractor/eyedotv.py b/yt_dlp/extractor/eyedotv.pysimilarity index 100%rename from youtube_dlc/extractor/eyedotv.pyrename to yt_dlp/extractor/eyedotv.pydiff --git a/youtube_dlc/extractor/facebook.py b/yt_dlp/extractor/facebook.pysimilarity index 100%rename from youtube_dlc/extractor/facebook.pyrename to yt_dlp/extractor/facebook.pydiff --git a/youtube_dlc/extractor/faz.py b/yt_dlp/extractor/faz.pysimilarity index 100%rename from youtube_dlc/extractor/faz.pyrename to yt_dlp/extractor/faz.pydiff --git a/youtube_dlc/extractor/fc2.py b/yt_dlp/extractor/fc2.pysimilarity index 100%rename from youtube_dlc/extractor/fc2.pyrename to yt_dlp/extractor/fc2.pydiff --git a/youtube_dlc/extractor/fczenit.py b/yt_dlp/extractor/fczenit.pysimilarity index 100%rename from youtube_dlc/extractor/fczenit.pyrename to yt_dlp/extractor/fczenit.pydiff --git a/youtube_dlc/extractor/filmon.py b/yt_dlp/extractor/filmon.pysimilarity index 100%rename from youtube_dlc/extractor/filmon.pyrename to yt_dlp/extractor/filmon.pydiff --git a/youtube_dlc/extractor/filmweb.py b/yt_dlp/extractor/filmweb.pysimilarity index 100%rename from youtube_dlc/extractor/filmweb.pyrename to yt_dlp/extractor/filmweb.pydiff --git a/youtube_dlc/extractor/firsttv.py b/yt_dlp/extractor/firsttv.pysimilarity index 100%rename from youtube_dlc/extractor/firsttv.pyrename to yt_dlp/extractor/firsttv.pydiff --git a/youtube_dlc/extractor/fivemin.py b/yt_dlp/extractor/fivemin.pysimilarity index 100%rename from youtube_dlc/extractor/fivemin.pyrename to yt_dlp/extractor/fivemin.pydiff --git a/youtube_dlc/extractor/fivetv.py b/yt_dlp/extractor/fivetv.pysimilarity index 100%rename from youtube_dlc/extractor/fivetv.pyrename to yt_dlp/extractor/fivetv.pydiff --git a/youtube_dlc/extractor/flickr.py b/yt_dlp/extractor/flickr.pysimilarity index 100%rename from youtube_dlc/extractor/flickr.pyrename to yt_dlp/extractor/flickr.pydiff --git a/youtube_dlc/extractor/folketinget.py b/yt_dlp/extractor/folketinget.pysimilarity index 100%rename from youtube_dlc/extractor/folketinget.pyrename to yt_dlp/extractor/folketinget.pydiff --git a/youtube_dlc/extractor/footyroom.py b/yt_dlp/extractor/footyroom.pysimilarity index 100%rename from youtube_dlc/extractor/footyroom.pyrename to yt_dlp/extractor/footyroom.pydiff --git a/youtube_dlc/extractor/formula1.py b/yt_dlp/extractor/formula1.pysimilarity index 100%rename from youtube_dlc/extractor/formula1.pyrename to yt_dlp/extractor/formula1.pydiff --git a/youtube_dlc/extractor/fourtube.py b/yt_dlp/extractor/fourtube.pysimilarity index 100%rename from youtube_dlc/extractor/fourtube.pyrename to yt_dlp/extractor/fourtube.pydiff --git a/youtube_dlc/extractor/fox.py b/yt_dlp/extractor/fox.pysimilarity index 100%rename from youtube_dlc/extractor/fox.pyrename to yt_dlp/extractor/fox.pydiff --git a/youtube_dlc/extractor/fox9.py b/yt_dlp/extractor/fox9.pysimilarity index 100%rename from youtube_dlc/extractor/fox9.pyrename to yt_dlp/extractor/fox9.pydiff --git a/youtube_dlc/extractor/foxgay.py b/yt_dlp/extractor/foxgay.pysimilarity index 100%rename from youtube_dlc/extractor/foxgay.pyrename to yt_dlp/extractor/foxgay.pydiff --git a/youtube_dlc/extractor/foxnews.py b/yt_dlp/extractor/foxnews.pysimilarity index 100%rename from youtube_dlc/extractor/foxnews.pyrename to yt_dlp/extractor/foxnews.pydiff --git a/youtube_dlc/extractor/foxsports.py b/yt_dlp/extractor/foxsports.pysimilarity index 100%rename from youtube_dlc/extractor/foxsports.pyrename to yt_dlp/extractor/foxsports.pydiff --git a/youtube_dlc/extractor/franceculture.py b/yt_dlp/extractor/franceculture.pysimilarity index 100%rename from youtube_dlc/extractor/franceculture.pyrename to yt_dlp/extractor/franceculture.pydiff --git a/youtube_dlc/extractor/franceinter.py b/yt_dlp/extractor/franceinter.pysimilarity index 100%rename from youtube_dlc/extractor/franceinter.pyrename to yt_dlp/extractor/franceinter.pydiff --git a/youtube_dlc/extractor/francetv.py b/yt_dlp/extractor/francetv.pysimilarity index 100%rename from youtube_dlc/extractor/francetv.pyrename to yt_dlp/extractor/francetv.pydiff --git a/youtube_dlc/extractor/freesound.py b/yt_dlp/extractor/freesound.pysimilarity index 100%rename from youtube_dlc/extractor/freesound.pyrename to yt_dlp/extractor/freesound.pydiff --git a/youtube_dlc/extractor/freespeech.py b/yt_dlp/extractor/freespeech.pysimilarity index 100%rename from youtube_dlc/extractor/freespeech.pyrename to yt_dlp/extractor/freespeech.pydiff --git a/youtube_dlc/extractor/freshlive.py b/yt_dlp/extractor/freshlive.pysimilarity index 100%rename from youtube_dlc/extractor/freshlive.pyrename to yt_dlp/extractor/freshlive.pydiff --git a/youtube_dlc/extractor/frontendmasters.py b/yt_dlp/extractor/frontendmasters.pysimilarity index 100%rename from youtube_dlc/extractor/frontendmasters.pyrename to yt_dlp/extractor/frontendmasters.pydiff --git a/youtube_dlc/extractor/fujitv.py b/yt_dlp/extractor/fujitv.pysimilarity index 100%rename from youtube_dlc/extractor/fujitv.pyrename to yt_dlp/extractor/fujitv.pydiff --git a/youtube_dlc/extractor/funimation.py b/yt_dlp/extractor/funimation.pysimilarity index 100%rename from youtube_dlc/extractor/funimation.pyrename to yt_dlp/extractor/funimation.pydiff --git a/youtube_dlc/extractor/funk.py b/yt_dlp/extractor/funk.pysimilarity index 100%rename from youtube_dlc/extractor/funk.pyrename to yt_dlp/extractor/funk.pydiff --git a/youtube_dlc/extractor/fusion.py b/yt_dlp/extractor/fusion.pysimilarity index 100%rename from youtube_dlc/extractor/fusion.pyrename to yt_dlp/extractor/fusion.pydiff --git a/youtube_dlc/extractor/fxnetworks.py b/yt_dlp/extractor/fxnetworks.pysimilarity index 100%rename from youtube_dlc/extractor/fxnetworks.pyrename to yt_dlp/extractor/fxnetworks.pydiff --git a/youtube_dlc/extractor/gaia.py b/yt_dlp/extractor/gaia.pysimilarity index 100%rename from youtube_dlc/extractor/gaia.pyrename to yt_dlp/extractor/gaia.pydiff --git a/youtube_dlc/extractor/gameinformer.py b/yt_dlp/extractor/gameinformer.pysimilarity index 100%rename from youtube_dlc/extractor/gameinformer.pyrename to yt_dlp/extractor/gameinformer.pydiff --git a/youtube_dlc/extractor/gamespot.py b/yt_dlp/extractor/gamespot.pysimilarity index 100%rename from youtube_dlc/extractor/gamespot.pyrename to yt_dlp/extractor/gamespot.pydiff --git a/youtube_dlc/extractor/gamestar.py b/yt_dlp/extractor/gamestar.pysimilarity index 100%rename from youtube_dlc/extractor/gamestar.pyrename to yt_dlp/extractor/gamestar.pydiff --git a/youtube_dlc/extractor/gaskrank.py b/yt_dlp/extractor/gaskrank.pysimilarity index 100%rename from youtube_dlc/extractor/gaskrank.pyrename to yt_dlp/extractor/gaskrank.pydiff --git a/youtube_dlc/extractor/gazeta.py b/yt_dlp/extractor/gazeta.pysimilarity index 100%rename from youtube_dlc/extractor/gazeta.pyrename to yt_dlp/extractor/gazeta.pydiff --git a/youtube_dlc/extractor/gdcvault.py b/yt_dlp/extractor/gdcvault.pysimilarity index 100%rename from youtube_dlc/extractor/gdcvault.pyrename to yt_dlp/extractor/gdcvault.pydiff --git a/youtube_dlc/extractor/gedi.py b/yt_dlp/extractor/gedi.pysimilarity index 100%rename from youtube_dlc/extractor/gedi.pyrename to yt_dlp/extractor/gedi.pydiff --git a/youtube_dlc/extractor/generic.py b/yt_dlp/extractor/generic.pysimilarity index 99%rename from youtube_dlc/extractor/generic.pyrename to yt_dlp/extractor/generic.pyindex 8cde11d2b8..7ecc5b3bdf 100644--- a/youtube_dlc/extractor/generic.py+++ b/yt_dlp/extractor/generic.py@@ -1997,7 +1997,7 @@ class GenericIE(InfoExtractor):},{# vshare embed- 'url': 'https://youtube-dlc-demo.neocities.org/vshare.html',+ 'url': 'https://youtube-dl-demo.neocities.org/vshare.html','md5': '17b39f55b5497ae8b59f5fbce8e35886','info_dict': {'id': '0f64ce6',@@ -2372,7 +2372,7 @@ class GenericIE(InfoExtractor):if default_search == 'auto_warning':if re.match(r'^(?:url|URL)$', url):raise ExtractorError(- 'Invalid URL: %r . Call youtube-dlc like this: youtube-dlc -v "https://www.youtube.com/watch?v=BaW_jenozKc" ' % url,+ 'Invalid URL: %r . Call yt-dlp like this: yt-dlp -v "https://www.youtube.com/watch?v=BaW_jenozKc" ' % url,expected=True)else:self._downloader.report_warning(@@ -2382,7 +2382,7 @@ class GenericIE(InfoExtractor):if default_search in ('error', 'fixup_error'):raise ExtractorError('%r is not a valid URL. '- 'Set --default-search "ytsearch" (or run youtube-dlc "ytsearch:%s" ) to search YouTube'+ 'Set --default-search "ytsearch" (or run yt-dlp "ytsearch:%s" ) to search YouTube'% (url, url), expected=True)else:if ':' not in default_search:@@ -2458,7 +2458,7 @@ class GenericIE(InfoExtractor):request = sanitized_Request(url)# Some webservers may serve compressed content of rather big size (e.g. gzipped flac)# making it impossible to download only chunk of the file (yet we need only 512kB to- # test whether it's HTML or not). According to youtube-dlc default Accept-Encoding+ # test whether it's HTML or not). According to yt-dlp default Accept-Encoding# that will always result in downloading the whole file that is not desirable.# Therefore for extraction pass we have to override Accept-Encoding to any in order# to accept raw bytes and being able to download only a chunk.@@ -3521,7 +3521,7 @@ class GenericIE(InfoExtractor):if not found:# twitter:player is a https URL to iframe player that may or may not- # be supported by youtube-dlc thus this is checked the very last (see+ # be supported by yt-dlp thus this is checked the very last (see# https://dev.twitter.com/cards/types/player#On_twitter.com_via_desktop_browser)embed_url = self._html_search_meta('twitter:player', webpage, default=None)if embed_url and embed_url != url:diff --git a/youtube_dlc/extractor/gfycat.py b/yt_dlp/extractor/gfycat.pysimilarity index 100%rename from youtube_dlc/extractor/gfycat.pyrename to yt_dlp/extractor/gfycat.pydiff --git a/youtube_dlc/extractor/giantbomb.py b/yt_dlp/extractor/giantbomb.pysimilarity index 100%rename from youtube_dlc/extractor/giantbomb.pyrename to yt_dlp/extractor/giantbomb.pydiff --git a/youtube_dlc/extractor/giga.py b/yt_dlp/extractor/giga.pysimilarity index 100%rename from youtube_dlc/extractor/giga.pyrename to yt_dlp/extractor/giga.pydiff --git a/youtube_dlc/extractor/gigya.py b/yt_dlp/extractor/gigya.pysimilarity index 100%rename from youtube_dlc/extractor/gigya.pyrename to yt_dlp/extractor/gigya.pydiff --git a/youtube_dlc/extractor/glide.py b/yt_dlp/extractor/glide.pysimilarity index 100%rename from youtube_dlc/extractor/glide.pyrename to yt_dlp/extractor/glide.pydiff --git a/youtube_dlc/extractor/globo.py b/yt_dlp/extractor/globo.pysimilarity index 100%rename from youtube_dlc/extractor/globo.pyrename to yt_dlp/extractor/globo.pydiff --git a/youtube_dlc/extractor/go.py b/yt_dlp/extractor/go.pysimilarity index 100%rename from youtube_dlc/extractor/go.pyrename to yt_dlp/extractor/go.pydiff --git a/youtube_dlc/extractor/godtube.py b/yt_dlp/extractor/godtube.pysimilarity index 100%rename from youtube_dlc/extractor/godtube.pyrename to yt_dlp/extractor/godtube.pydiff --git a/youtube_dlc/extractor/golem.py b/yt_dlp/extractor/golem.pysimilarity index 100%rename from youtube_dlc/extractor/golem.pyrename to yt_dlp/extractor/golem.pydiff --git a/youtube_dlc/extractor/googledrive.py b/yt_dlp/extractor/googledrive.pysimilarity index 100%rename from youtube_dlc/extractor/googledrive.pyrename to yt_dlp/extractor/googledrive.pydiff --git a/youtube_dlc/extractor/googlepodcasts.py b/yt_dlp/extractor/googlepodcasts.pysimilarity index 100%rename from youtube_dlc/extractor/googlepodcasts.pyrename to yt_dlp/extractor/googlepodcasts.pydiff --git a/youtube_dlc/extractor/googlesearch.py b/yt_dlp/extractor/googlesearch.pysimilarity index 100%rename from youtube_dlc/extractor/googlesearch.pyrename to yt_dlp/extractor/googlesearch.pydiff --git a/youtube_dlc/extractor/goshgay.py b/yt_dlp/extractor/goshgay.pysimilarity index 100%rename from youtube_dlc/extractor/goshgay.pyrename to yt_dlp/extractor/goshgay.pydiff --git a/youtube_dlc/extractor/gputechconf.py b/yt_dlp/extractor/gputechconf.pysimilarity index 100%rename from youtube_dlc/extractor/gputechconf.pyrename to yt_dlp/extractor/gputechconf.pydiff --git a/youtube_dlc/extractor/groupon.py b/yt_dlp/extractor/groupon.pysimilarity index 100%rename from youtube_dlc/extractor/groupon.pyrename to yt_dlp/extractor/groupon.pydiff --git a/youtube_dlc/extractor/hbo.py b/yt_dlp/extractor/hbo.pysimilarity index 100%rename from youtube_dlc/extractor/hbo.pyrename to yt_dlp/extractor/hbo.pydiff --git a/youtube_dlc/extractor/hearthisat.py b/yt_dlp/extractor/hearthisat.pysimilarity index 100%rename from youtube_dlc/extractor/hearthisat.pyrename to yt_dlp/extractor/hearthisat.pydiff --git a/youtube_dlc/extractor/heise.py b/yt_dlp/extractor/heise.pysimilarity index 100%rename from youtube_dlc/extractor/heise.pyrename to yt_dlp/extractor/heise.pydiff --git a/youtube_dlc/extractor/hellporno.py b/yt_dlp/extractor/hellporno.pysimilarity index 100%rename from youtube_dlc/extractor/hellporno.pyrename to yt_dlp/extractor/hellporno.pydiff --git a/youtube_dlc/extractor/helsinki.py b/yt_dlp/extractor/helsinki.pysimilarity index 100%rename from youtube_dlc/extractor/helsinki.pyrename to yt_dlp/extractor/helsinki.pydiff --git a/youtube_dlc/extractor/hentaistigma.py b/yt_dlp/extractor/hentaistigma.pysimilarity index 100%rename from youtube_dlc/extractor/hentaistigma.pyrename to yt_dlp/extractor/hentaistigma.pydiff --git a/youtube_dlc/extractor/hgtv.py b/yt_dlp/extractor/hgtv.pysimilarity index 100%rename from youtube_dlc/extractor/hgtv.pyrename to yt_dlp/extractor/hgtv.pydiff --git a/youtube_dlc/extractor/hidive.py b/yt_dlp/extractor/hidive.pysimilarity index 100%rename from youtube_dlc/extractor/hidive.pyrename to yt_dlp/extractor/hidive.pydiff --git a/youtube_dlc/extractor/historicfilms.py b/yt_dlp/extractor/historicfilms.pysimilarity index 100%rename from youtube_dlc/extractor/historicfilms.pyrename to yt_dlp/extractor/historicfilms.pydiff --git a/youtube_dlc/extractor/hitbox.py b/yt_dlp/extractor/hitbox.pysimilarity index 100%rename from youtube_dlc/extractor/hitbox.pyrename to yt_dlp/extractor/hitbox.pydiff --git a/youtube_dlc/extractor/hitrecord.py b/yt_dlp/extractor/hitrecord.pysimilarity index 100%rename from youtube_dlc/extractor/hitrecord.pyrename to yt_dlp/extractor/hitrecord.pydiff --git a/youtube_dlc/extractor/hketv.py b/yt_dlp/extractor/hketv.pysimilarity index 100%rename from youtube_dlc/extractor/hketv.pyrename to yt_dlp/extractor/hketv.pydiff --git a/youtube_dlc/extractor/hornbunny.py b/yt_dlp/extractor/hornbunny.pysimilarity index 100%rename from youtube_dlc/extractor/hornbunny.pyrename to yt_dlp/extractor/hornbunny.pydiff --git a/youtube_dlc/extractor/hotnewhiphop.py b/yt_dlp/extractor/hotnewhiphop.pysimilarity index 100%rename from youtube_dlc/extractor/hotnewhiphop.pyrename to yt_dlp/extractor/hotnewhiphop.pydiff --git a/youtube_dlc/extractor/hotstar.py b/yt_dlp/extractor/hotstar.pysimilarity index 100%rename from youtube_dlc/extractor/hotstar.pyrename to yt_dlp/extractor/hotstar.pydiff --git a/youtube_dlc/extractor/howcast.py b/yt_dlp/extractor/howcast.pysimilarity index 100%rename from youtube_dlc/extractor/howcast.pyrename to yt_dlp/extractor/howcast.pydiff --git a/youtube_dlc/extractor/howstuffworks.py b/yt_dlp/extractor/howstuffworks.pysimilarity index 100%rename from youtube_dlc/extractor/howstuffworks.pyrename to yt_dlp/extractor/howstuffworks.pydiff --git a/youtube_dlc/extractor/hrfensehen.py b/yt_dlp/extractor/hrfensehen.pysimilarity index 98%rename from youtube_dlc/extractor/hrfensehen.pyrename to yt_dlp/extractor/hrfensehen.pyindex 805345e695..a04a5b0ffc 100644--- a/youtube_dlc/extractor/hrfensehen.py+++ b/yt_dlp/extractor/hrfensehen.py@@ -4,7 +4,7 @@ from __future__ import unicode_literalsimport jsonimport re-from youtube_dlc.utils import int_or_none, unified_timestamp, unescapeHTML+from yt_dlp.utils import int_or_none, unified_timestamp, unescapeHTMLfrom .common import InfoExtractordiff --git a/youtube_dlc/extractor/hrti.py b/yt_dlp/extractor/hrti.pysimilarity index 100%rename from youtube_dlc/extractor/hrti.pyrename to yt_dlp/extractor/hrti.pydiff --git a/youtube_dlc/extractor/huajiao.py b/yt_dlp/extractor/huajiao.pysimilarity index 100%rename from youtube_dlc/extractor/huajiao.pyrename to yt_dlp/extractor/huajiao.pydiff --git a/youtube_dlc/extractor/huffpost.py b/yt_dlp/extractor/huffpost.pysimilarity index 100%rename from youtube_dlc/extractor/huffpost.pyrename to yt_dlp/extractor/huffpost.pydiff --git a/youtube_dlc/extractor/hungama.py b/yt_dlp/extractor/hungama.pysimilarity index 100%rename from youtube_dlc/extractor/hungama.pyrename to yt_dlp/extractor/hungama.pydiff --git a/youtube_dlc/extractor/hypem.py b/yt_dlp/extractor/hypem.pysimilarity index 100%rename from youtube_dlc/extractor/hypem.pyrename to yt_dlp/extractor/hypem.pydiff --git a/youtube_dlc/extractor/ign.py b/yt_dlp/extractor/ign.pysimilarity index 100%rename from youtube_dlc/extractor/ign.pyrename to yt_dlp/extractor/ign.pydiff --git a/youtube_dlc/extractor/iheart.py b/yt_dlp/extractor/iheart.pysimilarity index 100%rename from youtube_dlc/extractor/iheart.pyrename to yt_dlp/extractor/iheart.pydiff --git a/youtube_dlc/extractor/imdb.py b/yt_dlp/extractor/imdb.pysimilarity index 100%rename from youtube_dlc/extractor/imdb.pyrename to yt_dlp/extractor/imdb.pydiff --git a/youtube_dlc/extractor/imggaming.py b/yt_dlp/extractor/imggaming.pysimilarity index 100%rename from youtube_dlc/extractor/imggaming.pyrename to yt_dlp/extractor/imggaming.pydiff --git a/youtube_dlc/extractor/imgur.py b/yt_dlp/extractor/imgur.pysimilarity index 97%rename from youtube_dlc/extractor/imgur.pyrename to yt_dlp/extractor/imgur.pyindex 20fe6667bb..dfa4737522 100644--- a/youtube_dlc/extractor/imgur.py+++ b/yt_dlp/extractor/imgur.py@@ -60,7 +60,7 @@ class ImgurIE(InfoExtractor):'width': width,'height': height,'http_headers': {- 'User-Agent': 'youtube-dlc (like wget)',+ 'User-Agent': 'yt-dlp (like wget)',},})@@ -82,7 +82,7 @@ class ImgurIE(InfoExtractor):'url': self._proto_relative_url(gifd['gifUrl']),'filesize': gifd.get('size'),'http_headers': {- 'User-Agent': 'youtube-dlc (like wget)',+ 'User-Agent': 'yt-dlp (like wget)',},})diff --git a/youtube_dlc/extractor/ina.py b/yt_dlp/extractor/ina.pysimilarity index 100%rename from youtube_dlc/extractor/ina.pyrename to yt_dlp/extractor/ina.pydiff --git a/youtube_dlc/extractor/inc.py b/yt_dlp/extractor/inc.pysimilarity index 100%rename from youtube_dlc/extractor/inc.pyrename to yt_dlp/extractor/inc.pydiff --git a/youtube_dlc/extractor/indavideo.py b/yt_dlp/extractor/indavideo.pysimilarity index 100%rename from youtube_dlc/extractor/indavideo.pyrename to yt_dlp/extractor/indavideo.pydiff --git a/youtube_dlc/extractor/infoq.py b/yt_dlp/extractor/infoq.pysimilarity index 100%rename from youtube_dlc/extractor/infoq.pyrename to yt_dlp/extractor/infoq.pydiff --git a/youtube_dlc/extractor/instagram.py b/yt_dlp/extractor/instagram.pysimilarity index 100%rename from youtube_dlc/extractor/instagram.pyrename to yt_dlp/extractor/instagram.pydiff --git a/youtube_dlc/extractor/internazionale.py b/yt_dlp/extractor/internazionale.pysimilarity index 100%rename from youtube_dlc/extractor/internazionale.pyrename to yt_dlp/extractor/internazionale.pydiff --git a/youtube_dlc/extractor/internetvideoarchive.py b/yt_dlp/extractor/internetvideoarchive.pysimilarity index 100%rename from youtube_dlc/extractor/internetvideoarchive.pyrename to yt_dlp/extractor/internetvideoarchive.pydiff --git a/youtube_dlc/extractor/iprima.py b/yt_dlp/extractor/iprima.pysimilarity index 100%rename from youtube_dlc/extractor/iprima.pyrename to yt_dlp/extractor/iprima.pydiff --git a/youtube_dlc/extractor/iqiyi.py b/yt_dlp/extractor/iqiyi.pysimilarity index 100%rename from youtube_dlc/extractor/iqiyi.pyrename to yt_dlp/extractor/iqiyi.pydiff --git a/youtube_dlc/extractor/ir90tv.py b/yt_dlp/extractor/ir90tv.pysimilarity index 100%rename from youtube_dlc/extractor/ir90tv.pyrename to yt_dlp/extractor/ir90tv.pydiff --git a/youtube_dlc/extractor/itv.py b/yt_dlp/extractor/itv.pysimilarity index 100%rename from youtube_dlc/extractor/itv.pyrename to yt_dlp/extractor/itv.pydiff --git a/youtube_dlc/extractor/ivi.py b/yt_dlp/extractor/ivi.pysimilarity index 99%rename from youtube_dlc/extractor/ivi.pyrename to yt_dlp/extractor/ivi.pyindex 580cf41cd0..69711f877e 100644--- a/youtube_dlc/extractor/ivi.py+++ b/yt_dlp/extractor/ivi.py@@ -142,7 +142,7 @@ class IviIE(InfoExtractor):continueelif bundled:raise ExtractorError(- 'This feature does not work from bundled exe. Run youtube-dlc from sources.',+ 'This feature does not work from bundled exe. Run yt-dlp from sources.',expected=True)elif not pycryptodomex_found:raise ExtractorError(diff --git a/youtube_dlc/extractor/ivideon.py b/yt_dlp/extractor/ivideon.pysimilarity index 100%rename from youtube_dlc/extractor/ivideon.pyrename to yt_dlp/extractor/ivideon.pydiff --git a/youtube_dlc/extractor/iwara.py b/yt_dlp/extractor/iwara.pysimilarity index 100%rename from youtube_dlc/extractor/iwara.pyrename to yt_dlp/extractor/iwara.pydiff --git a/youtube_dlc/extractor/izlesene.py b/yt_dlp/extractor/izlesene.pysimilarity index 100%rename from youtube_dlc/extractor/izlesene.pyrename to yt_dlp/extractor/izlesene.pydiff --git a/youtube_dlc/extractor/jamendo.py b/yt_dlp/extractor/jamendo.pysimilarity index 100%rename from youtube_dlc/extractor/jamendo.pyrename to yt_dlp/extractor/jamendo.pydiff --git a/youtube_dlc/extractor/jeuxvideo.py b/yt_dlp/extractor/jeuxvideo.pysimilarity index 100%rename from youtube_dlc/extractor/jeuxvideo.pyrename to yt_dlp/extractor/jeuxvideo.pydiff --git a/youtube_dlc/extractor/joj.py b/yt_dlp/extractor/joj.pysimilarity index 100%rename from youtube_dlc/extractor/joj.pyrename to yt_dlp/extractor/joj.pydiff --git a/youtube_dlc/extractor/jove.py b/yt_dlp/extractor/jove.pysimilarity index 100%rename from youtube_dlc/extractor/jove.pyrename to yt_dlp/extractor/jove.pydiff --git a/youtube_dlc/extractor/jwplatform.py b/yt_dlp/extractor/jwplatform.pysimilarity index 100%rename from youtube_dlc/extractor/jwplatform.pyrename to yt_dlp/extractor/jwplatform.pydiff --git a/youtube_dlc/extractor/kakao.py b/yt_dlp/extractor/kakao.pysimilarity index 100%rename from youtube_dlc/extractor/kakao.pyrename to yt_dlp/extractor/kakao.pydiff --git a/youtube_dlc/extractor/kaltura.py b/yt_dlp/extractor/kaltura.pysimilarity index 100%rename from youtube_dlc/extractor/kaltura.pyrename to yt_dlp/extractor/kaltura.pydiff --git a/youtube_dlc/extractor/kanalplay.py b/yt_dlp/extractor/kanalplay.pysimilarity index 100%rename from youtube_dlc/extractor/kanalplay.pyrename to yt_dlp/extractor/kanalplay.pydiff --git a/youtube_dlc/extractor/kankan.py b/yt_dlp/extractor/kankan.pysimilarity index 100%rename from youtube_dlc/extractor/kankan.pyrename to yt_dlp/extractor/kankan.pydiff --git a/youtube_dlc/extractor/karaoketv.py b/yt_dlp/extractor/karaoketv.pysimilarity index 100%rename from youtube_dlc/extractor/karaoketv.pyrename to yt_dlp/extractor/karaoketv.pydiff --git a/youtube_dlc/extractor/karrierevideos.py b/yt_dlp/extractor/karrierevideos.pysimilarity index 100%rename from youtube_dlc/extractor/karrierevideos.pyrename to yt_dlp/extractor/karrierevideos.pydiff --git a/youtube_dlc/extractor/keezmovies.py b/yt_dlp/extractor/keezmovies.pysimilarity index 100%rename from youtube_dlc/extractor/keezmovies.pyrename to yt_dlp/extractor/keezmovies.pydiff --git a/youtube_dlc/extractor/ketnet.py b/yt_dlp/extractor/ketnet.pysimilarity index 100%rename from youtube_dlc/extractor/ketnet.pyrename to yt_dlp/extractor/ketnet.pydiff --git a/youtube_dlc/extractor/khanacademy.py b/yt_dlp/extractor/khanacademy.pysimilarity index 100%rename from youtube_dlc/extractor/khanacademy.pyrename to yt_dlp/extractor/khanacademy.pydiff --git a/youtube_dlc/extractor/kickstarter.py b/yt_dlp/extractor/kickstarter.pysimilarity index 100%rename from youtube_dlc/extractor/kickstarter.pyrename to yt_dlp/extractor/kickstarter.pydiff --git a/youtube_dlc/extractor/kinja.py b/yt_dlp/extractor/kinja.pysimilarity index 100%rename from youtube_dlc/extractor/kinja.pyrename to yt_dlp/extractor/kinja.pydiff --git a/youtube_dlc/extractor/kinopoisk.py b/yt_dlp/extractor/kinopoisk.pysimilarity index 100%rename from youtube_dlc/extractor/kinopoisk.pyrename to yt_dlp/extractor/kinopoisk.pydiff --git a/youtube_dlc/extractor/konserthusetplay.py b/yt_dlp/extractor/konserthusetplay.pysimilarity index 100%rename from youtube_dlc/extractor/konserthusetplay.pyrename to yt_dlp/extractor/konserthusetplay.pydiff --git a/youtube_dlc/extractor/krasview.py b/yt_dlp/extractor/krasview.pysimilarity index 100%rename from youtube_dlc/extractor/krasview.pyrename to yt_dlp/extractor/krasview.pydiff --git a/youtube_dlc/extractor/ku6.py b/yt_dlp/extractor/ku6.pysimilarity index 100%rename from youtube_dlc/extractor/ku6.pyrename to yt_dlp/extractor/ku6.pydiff --git a/youtube_dlc/extractor/kusi.py b/yt_dlp/extractor/kusi.pysimilarity index 100%rename from youtube_dlc/extractor/kusi.pyrename to yt_dlp/extractor/kusi.pydiff --git a/youtube_dlc/extractor/kuwo.py b/yt_dlp/extractor/kuwo.pysimilarity index 100%rename from youtube_dlc/extractor/kuwo.pyrename to yt_dlp/extractor/kuwo.pydiff --git a/youtube_dlc/extractor/la7.py b/yt_dlp/extractor/la7.pysimilarity index 100%rename from youtube_dlc/extractor/la7.pyrename to yt_dlp/extractor/la7.pydiff --git a/youtube_dlc/extractor/laola1tv.py b/yt_dlp/extractor/laola1tv.pysimilarity index 100%rename from youtube_dlc/extractor/laola1tv.pyrename to yt_dlp/extractor/laola1tv.pydiff --git a/youtube_dlc/extractor/lbry.py b/yt_dlp/extractor/lbry.pysimilarity index 100%rename from youtube_dlc/extractor/lbry.pyrename to yt_dlp/extractor/lbry.pydiff --git a/youtube_dlc/extractor/lci.py b/yt_dlp/extractor/lci.pysimilarity index 100%rename from youtube_dlc/extractor/lci.pyrename to yt_dlp/extractor/lci.pydiff --git a/youtube_dlc/extractor/lcp.py b/yt_dlp/extractor/lcp.pysimilarity index 100%rename from youtube_dlc/extractor/lcp.pyrename to yt_dlp/extractor/lcp.pydiff --git a/youtube_dlc/extractor/lecture2go.py b/yt_dlp/extractor/lecture2go.pysimilarity index 100%rename from youtube_dlc/extractor/lecture2go.pyrename to yt_dlp/extractor/lecture2go.pydiff --git a/youtube_dlc/extractor/lecturio.py b/yt_dlp/extractor/lecturio.pysimilarity index 100%rename from youtube_dlc/extractor/lecturio.pyrename to yt_dlp/extractor/lecturio.pydiff --git a/youtube_dlc/extractor/leeco.py b/yt_dlp/extractor/leeco.pysimilarity index 100%rename from youtube_dlc/extractor/leeco.pyrename to yt_dlp/extractor/leeco.pydiff --git a/youtube_dlc/extractor/lego.py b/yt_dlp/extractor/lego.pysimilarity index 100%rename from youtube_dlc/extractor/lego.pyrename to yt_dlp/extractor/lego.pydiff --git a/youtube_dlc/extractor/lemonde.py b/yt_dlp/extractor/lemonde.pysimilarity index 100%rename from youtube_dlc/extractor/lemonde.pyrename to yt_dlp/extractor/lemonde.pydiff --git a/youtube_dlc/extractor/lenta.py b/yt_dlp/extractor/lenta.pysimilarity index 100%rename from youtube_dlc/extractor/lenta.pyrename to yt_dlp/extractor/lenta.pydiff --git a/youtube_dlc/extractor/libraryofcongress.py b/yt_dlp/extractor/libraryofcongress.pysimilarity index 100%rename from youtube_dlc/extractor/libraryofcongress.pyrename to yt_dlp/extractor/libraryofcongress.pydiff --git a/youtube_dlc/extractor/libsyn.py b/yt_dlp/extractor/libsyn.pysimilarity index 100%rename from youtube_dlc/extractor/libsyn.pyrename to yt_dlp/extractor/libsyn.pydiff --git a/youtube_dlc/extractor/lifenews.py b/yt_dlp/extractor/lifenews.pysimilarity index 100%rename from youtube_dlc/extractor/lifenews.pyrename to yt_dlp/extractor/lifenews.pydiff --git a/youtube_dlc/extractor/limelight.py b/yt_dlp/extractor/limelight.pysimilarity index 100%rename from youtube_dlc/extractor/limelight.pyrename to yt_dlp/extractor/limelight.pydiff --git a/youtube_dlc/extractor/line.py b/yt_dlp/extractor/line.pysimilarity index 100%rename from youtube_dlc/extractor/line.pyrename to yt_dlp/extractor/line.pydiff --git a/youtube_dlc/extractor/linkedin.py b/yt_dlp/extractor/linkedin.pysimilarity index 100%rename from youtube_dlc/extractor/linkedin.pyrename to yt_dlp/extractor/linkedin.pydiff --git a/youtube_dlc/extractor/linuxacademy.py b/yt_dlp/extractor/linuxacademy.pysimilarity index 100%rename from youtube_dlc/extractor/linuxacademy.pyrename to yt_dlp/extractor/linuxacademy.pydiff --git a/youtube_dlc/extractor/litv.py b/yt_dlp/extractor/litv.pysimilarity index 100%rename from youtube_dlc/extractor/litv.pyrename to yt_dlp/extractor/litv.pydiff --git a/youtube_dlc/extractor/livejournal.py b/yt_dlp/extractor/livejournal.pysimilarity index 100%rename from youtube_dlc/extractor/livejournal.pyrename to yt_dlp/extractor/livejournal.pydiff --git a/youtube_dlc/extractor/liveleak.py b/yt_dlp/extractor/liveleak.pysimilarity index 100%rename from youtube_dlc/extractor/liveleak.pyrename to yt_dlp/extractor/liveleak.pydiff --git a/youtube_dlc/extractor/livestream.py b/yt_dlp/extractor/livestream.pysimilarity index 100%rename from youtube_dlc/extractor/livestream.pyrename to yt_dlp/extractor/livestream.pydiff --git a/youtube_dlc/extractor/lnkgo.py b/yt_dlp/extractor/lnkgo.pysimilarity index 100%rename from youtube_dlc/extractor/lnkgo.pyrename to yt_dlp/extractor/lnkgo.pydiff --git a/youtube_dlc/extractor/localnews8.py b/yt_dlp/extractor/localnews8.pysimilarity index 100%rename from youtube_dlc/extractor/localnews8.pyrename to yt_dlp/extractor/localnews8.pydiff --git a/youtube_dlc/extractor/lovehomeporn.py b/yt_dlp/extractor/lovehomeporn.pysimilarity index 100%rename from youtube_dlc/extractor/lovehomeporn.pyrename to yt_dlp/extractor/lovehomeporn.pydiff --git a/youtube_dlc/extractor/lrt.py b/yt_dlp/extractor/lrt.pysimilarity index 100%rename from youtube_dlc/extractor/lrt.pyrename to yt_dlp/extractor/lrt.pydiff --git a/youtube_dlc/extractor/lynda.py b/yt_dlp/extractor/lynda.pysimilarity index 100%rename from youtube_dlc/extractor/lynda.pyrename to yt_dlp/extractor/lynda.pydiff --git a/youtube_dlc/extractor/m6.py b/yt_dlp/extractor/m6.pysimilarity index 100%rename from youtube_dlc/extractor/m6.pyrename to yt_dlp/extractor/m6.pydiff --git a/youtube_dlc/extractor/magentamusik360.py b/yt_dlp/extractor/magentamusik360.pysimilarity index 100%rename from youtube_dlc/extractor/magentamusik360.pyrename to yt_dlp/extractor/magentamusik360.pydiff --git a/youtube_dlc/extractor/mailru.py b/yt_dlp/extractor/mailru.pysimilarity index 100%rename from youtube_dlc/extractor/mailru.pyrename to yt_dlp/extractor/mailru.pydiff --git a/youtube_dlc/extractor/malltv.py b/yt_dlp/extractor/malltv.pysimilarity index 100%rename from youtube_dlc/extractor/malltv.pyrename to yt_dlp/extractor/malltv.pydiff --git a/youtube_dlc/extractor/mangomolo.py b/yt_dlp/extractor/mangomolo.pysimilarity index 100%rename from youtube_dlc/extractor/mangomolo.pyrename to yt_dlp/extractor/mangomolo.pydiff --git a/youtube_dlc/extractor/manyvids.py b/yt_dlp/extractor/manyvids.pysimilarity index 100%rename from youtube_dlc/extractor/manyvids.pyrename to yt_dlp/extractor/manyvids.pydiff --git a/youtube_dlc/extractor/markiza.py b/yt_dlp/extractor/markiza.pysimilarity index 100%rename from youtube_dlc/extractor/markiza.pyrename to yt_dlp/extractor/markiza.pydiff --git a/youtube_dlc/extractor/massengeschmacktv.py b/yt_dlp/extractor/massengeschmacktv.pysimilarity index 100%rename from youtube_dlc/extractor/massengeschmacktv.pyrename to yt_dlp/extractor/massengeschmacktv.pydiff --git a/youtube_dlc/extractor/matchtv.py b/yt_dlp/extractor/matchtv.pysimilarity index 100%rename from youtube_dlc/extractor/matchtv.pyrename to yt_dlp/extractor/matchtv.pydiff --git a/youtube_dlc/extractor/mdr.py b/yt_dlp/extractor/mdr.pysimilarity index 100%rename from youtube_dlc/extractor/mdr.pyrename to yt_dlp/extractor/mdr.pydiff --git a/youtube_dlc/extractor/medaltv.py b/yt_dlp/extractor/medaltv.pysimilarity index 100%rename from youtube_dlc/extractor/medaltv.pyrename to yt_dlp/extractor/medaltv.pydiff --git a/youtube_dlc/extractor/medialaan.py b/yt_dlp/extractor/medialaan.pysimilarity index 100%rename from youtube_dlc/extractor/medialaan.pyrename to yt_dlp/extractor/medialaan.pydiff --git a/youtube_dlc/extractor/mediaset.py b/yt_dlp/extractor/mediaset.pysimilarity index 100%rename from youtube_dlc/extractor/mediaset.pyrename to yt_dlp/extractor/mediaset.pydiff --git a/youtube_dlc/extractor/mediasite.py b/yt_dlp/extractor/mediasite.pysimilarity index 100%rename from youtube_dlc/extractor/mediasite.pyrename to yt_dlp/extractor/mediasite.pydiff --git a/youtube_dlc/extractor/medici.py b/yt_dlp/extractor/medici.pysimilarity index 100%rename from youtube_dlc/extractor/medici.pyrename to yt_dlp/extractor/medici.pydiff --git a/youtube_dlc/extractor/megaphone.py b/yt_dlp/extractor/megaphone.pysimilarity index 100%rename from youtube_dlc/extractor/megaphone.pyrename to yt_dlp/extractor/megaphone.pydiff --git a/youtube_dlc/extractor/meipai.py b/yt_dlp/extractor/meipai.pysimilarity index 100%rename from youtube_dlc/extractor/meipai.pyrename to yt_dlp/extractor/meipai.pydiff --git a/youtube_dlc/extractor/melonvod.py b/yt_dlp/extractor/melonvod.pysimilarity index 100%rename from youtube_dlc/extractor/melonvod.pyrename to yt_dlp/extractor/melonvod.pydiff --git a/youtube_dlc/extractor/meta.py b/yt_dlp/extractor/meta.pysimilarity index 100%rename from youtube_dlc/extractor/meta.pyrename to yt_dlp/extractor/meta.pydiff --git a/youtube_dlc/extractor/metacafe.py b/yt_dlp/extractor/metacafe.pysimilarity index 100%rename from youtube_dlc/extractor/metacafe.pyrename to yt_dlp/extractor/metacafe.pydiff --git a/youtube_dlc/extractor/metacritic.py b/yt_dlp/extractor/metacritic.pysimilarity index 100%rename from youtube_dlc/extractor/metacritic.pyrename to yt_dlp/extractor/metacritic.pydiff --git a/youtube_dlc/extractor/mgoon.py b/yt_dlp/extractor/mgoon.pysimilarity index 100%rename from youtube_dlc/extractor/mgoon.pyrename to yt_dlp/extractor/mgoon.pydiff --git a/youtube_dlc/extractor/mgtv.py b/yt_dlp/extractor/mgtv.pysimilarity index 100%rename from youtube_dlc/extractor/mgtv.pyrename to yt_dlp/extractor/mgtv.pydiff --git a/youtube_dlc/extractor/miaopai.py b/yt_dlp/extractor/miaopai.pysimilarity index 100%rename from youtube_dlc/extractor/miaopai.pyrename to yt_dlp/extractor/miaopai.pydiff --git a/youtube_dlc/extractor/microsoftvirtualacademy.py b/yt_dlp/extractor/microsoftvirtualacademy.pysimilarity index 100%rename from youtube_dlc/extractor/microsoftvirtualacademy.pyrename to yt_dlp/extractor/microsoftvirtualacademy.pydiff --git a/youtube_dlc/extractor/mildom.py b/yt_dlp/extractor/mildom.pysimilarity index 100%rename from youtube_dlc/extractor/mildom.pyrename to yt_dlp/extractor/mildom.pydiff --git a/youtube_dlc/extractor/minds.py b/yt_dlp/extractor/minds.pysimilarity index 100%rename from youtube_dlc/extractor/minds.pyrename to yt_dlp/extractor/minds.pydiff --git a/youtube_dlc/extractor/ministrygrid.py b/yt_dlp/extractor/ministrygrid.pysimilarity index 100%rename from youtube_dlc/extractor/ministrygrid.pyrename to yt_dlp/extractor/ministrygrid.pydiff --git a/youtube_dlc/extractor/minoto.py b/yt_dlp/extractor/minoto.pysimilarity index 100%rename from youtube_dlc/extractor/minoto.pyrename to yt_dlp/extractor/minoto.pydiff --git a/youtube_dlc/extractor/miomio.py b/yt_dlp/extractor/miomio.pysimilarity index 100%rename from youtube_dlc/extractor/miomio.pyrename to yt_dlp/extractor/miomio.pydiff --git a/youtube_dlc/extractor/mit.py b/yt_dlp/extractor/mit.pysimilarity index 100%rename from youtube_dlc/extractor/mit.pyrename to yt_dlp/extractor/mit.pydiff --git a/youtube_dlc/extractor/mitele.py b/yt_dlp/extractor/mitele.pysimilarity index 100%rename from youtube_dlc/extractor/mitele.pyrename to yt_dlp/extractor/mitele.pydiff --git a/youtube_dlc/extractor/mixcloud.py b/yt_dlp/extractor/mixcloud.pysimilarity index 100%rename from youtube_dlc/extractor/mixcloud.pyrename to yt_dlp/extractor/mixcloud.pydiff --git a/youtube_dlc/extractor/mlb.py b/yt_dlp/extractor/mlb.pysimilarity index 100%rename from youtube_dlc/extractor/mlb.pyrename to yt_dlp/extractor/mlb.pydiff --git a/youtube_dlc/extractor/mnet.py b/yt_dlp/extractor/mnet.pysimilarity index 100%rename from youtube_dlc/extractor/mnet.pyrename to yt_dlp/extractor/mnet.pydiff --git a/youtube_dlc/extractor/moevideo.py b/yt_dlp/extractor/moevideo.pysimilarity index 100%rename from youtube_dlc/extractor/moevideo.pyrename to yt_dlp/extractor/moevideo.pydiff --git a/youtube_dlc/extractor/mofosex.py b/yt_dlp/extractor/mofosex.pysimilarity index 100%rename from youtube_dlc/extractor/mofosex.pyrename to yt_dlp/extractor/mofosex.pydiff --git a/youtube_dlc/extractor/mojvideo.py b/yt_dlp/extractor/mojvideo.pysimilarity index 100%rename from youtube_dlc/extractor/mojvideo.pyrename to yt_dlp/extractor/mojvideo.pydiff --git a/youtube_dlc/extractor/morningstar.py b/yt_dlp/extractor/morningstar.pysimilarity index 100%rename from youtube_dlc/extractor/morningstar.pyrename to yt_dlp/extractor/morningstar.pydiff --git a/youtube_dlc/extractor/motherless.py b/yt_dlp/extractor/motherless.pysimilarity index 100%rename from youtube_dlc/extractor/motherless.pyrename to yt_dlp/extractor/motherless.pydiff --git a/youtube_dlc/extractor/motorsport.py b/yt_dlp/extractor/motorsport.pysimilarity index 100%rename from youtube_dlc/extractor/motorsport.pyrename to yt_dlp/extractor/motorsport.pydiff --git a/youtube_dlc/extractor/movieclips.py b/yt_dlp/extractor/movieclips.pysimilarity index 100%rename from youtube_dlc/extractor/movieclips.pyrename to yt_dlp/extractor/movieclips.pydiff --git a/youtube_dlc/extractor/moviezine.py b/yt_dlp/extractor/moviezine.pysimilarity index 100%rename from youtube_dlc/extractor/moviezine.pyrename to yt_dlp/extractor/moviezine.pydiff --git a/youtube_dlc/extractor/movingimage.py b/yt_dlp/extractor/movingimage.pysimilarity index 100%rename from youtube_dlc/extractor/movingimage.pyrename to yt_dlp/extractor/movingimage.pydiff --git a/youtube_dlc/extractor/msn.py b/yt_dlp/extractor/msn.pysimilarity index 100%rename from youtube_dlc/extractor/msn.pyrename to yt_dlp/extractor/msn.pydiff --git a/youtube_dlc/extractor/mtv.py b/yt_dlp/extractor/mtv.pysimilarity index 100%rename from youtube_dlc/extractor/mtv.pyrename to yt_dlp/extractor/mtv.pydiff --git a/youtube_dlc/extractor/muenchentv.py b/yt_dlp/extractor/muenchentv.pysimilarity index 100%rename from youtube_dlc/extractor/muenchentv.pyrename to yt_dlp/extractor/muenchentv.pydiff --git a/youtube_dlc/extractor/mwave.py b/yt_dlp/extractor/mwave.pysimilarity index 100%rename from youtube_dlc/extractor/mwave.pyrename to yt_dlp/extractor/mwave.pydiff --git a/youtube_dlc/extractor/mychannels.py b/yt_dlp/extractor/mychannels.pysimilarity index 100%rename from youtube_dlc/extractor/mychannels.pyrename to yt_dlp/extractor/mychannels.pydiff --git a/youtube_dlc/extractor/myspace.py b/yt_dlp/extractor/myspace.pysimilarity index 100%rename from youtube_dlc/extractor/myspace.pyrename to yt_dlp/extractor/myspace.pydiff --git a/youtube_dlc/extractor/myspass.py b/yt_dlp/extractor/myspass.pysimilarity index 100%rename from youtube_dlc/extractor/myspass.pyrename to yt_dlp/extractor/myspass.pydiff --git a/youtube_dlc/extractor/myvi.py b/yt_dlp/extractor/myvi.pysimilarity index 100%rename from youtube_dlc/extractor/myvi.pyrename to yt_dlp/extractor/myvi.pydiff --git a/youtube_dlc/extractor/myvideoge.py b/yt_dlp/extractor/myvideoge.pysimilarity index 100%rename from youtube_dlc/extractor/myvideoge.pyrename to yt_dlp/extractor/myvideoge.pydiff --git a/youtube_dlc/extractor/myvidster.py b/yt_dlp/extractor/myvidster.pysimilarity index 100%rename from youtube_dlc/extractor/myvidster.pyrename to yt_dlp/extractor/myvidster.pydiff --git a/youtube_dlc/extractor/nationalgeographic.py b/yt_dlp/extractor/nationalgeographic.pysimilarity index 100%rename from youtube_dlc/extractor/nationalgeographic.pyrename to yt_dlp/extractor/nationalgeographic.pydiff --git a/youtube_dlc/extractor/naver.py b/yt_dlp/extractor/naver.pysimilarity index 100%rename from youtube_dlc/extractor/naver.pyrename to yt_dlp/extractor/naver.pydiff --git a/youtube_dlc/extractor/nba.py b/yt_dlp/extractor/nba.pysimilarity index 100%rename from youtube_dlc/extractor/nba.pyrename to yt_dlp/extractor/nba.pydiff --git a/youtube_dlc/extractor/nbc.py b/yt_dlp/extractor/nbc.pysimilarity index 100%rename from youtube_dlc/extractor/nbc.pyrename to yt_dlp/extractor/nbc.pydiff --git a/youtube_dlc/extractor/ndr.py b/yt_dlp/extractor/ndr.pysimilarity index 100%rename from youtube_dlc/extractor/ndr.pyrename to yt_dlp/extractor/ndr.pydiff --git a/youtube_dlc/extractor/ndtv.py b/yt_dlp/extractor/ndtv.pysimilarity index 100%rename from youtube_dlc/extractor/ndtv.pyrename to yt_dlp/extractor/ndtv.pydiff --git a/youtube_dlc/extractor/nerdcubed.py b/yt_dlp/extractor/nerdcubed.pysimilarity index 100%rename from youtube_dlc/extractor/nerdcubed.pyrename to yt_dlp/extractor/nerdcubed.pydiff --git a/youtube_dlc/extractor/neteasemusic.py b/yt_dlp/extractor/neteasemusic.pysimilarity index 100%rename from youtube_dlc/extractor/neteasemusic.pyrename to yt_dlp/extractor/neteasemusic.pydiff --git a/youtube_dlc/extractor/netzkino.py b/yt_dlp/extractor/netzkino.pysimilarity index 100%rename from youtube_dlc/extractor/netzkino.pyrename to yt_dlp/extractor/netzkino.pydiff --git a/youtube_dlc/extractor/newgrounds.py b/yt_dlp/extractor/newgrounds.pysimilarity index 100%rename from youtube_dlc/extractor/newgrounds.pyrename to yt_dlp/extractor/newgrounds.pydiff --git a/youtube_dlc/extractor/newstube.py b/yt_dlp/extractor/newstube.pysimilarity index 100%rename from youtube_dlc/extractor/newstube.pyrename to yt_dlp/extractor/newstube.pydiff --git a/youtube_dlc/extractor/nextmedia.py b/yt_dlp/extractor/nextmedia.pysimilarity index 100%rename from youtube_dlc/extractor/nextmedia.pyrename to yt_dlp/extractor/nextmedia.pydiff --git a/youtube_dlc/extractor/nexx.py b/yt_dlp/extractor/nexx.pysimilarity index 100%rename from youtube_dlc/extractor/nexx.pyrename to yt_dlp/extractor/nexx.pydiff --git a/youtube_dlc/extractor/nfl.py b/yt_dlp/extractor/nfl.pysimilarity index 100%rename from youtube_dlc/extractor/nfl.pyrename to yt_dlp/extractor/nfl.pydiff --git a/youtube_dlc/extractor/nhk.py b/yt_dlp/extractor/nhk.pysimilarity index 100%rename from youtube_dlc/extractor/nhk.pyrename to yt_dlp/extractor/nhk.pydiff --git a/youtube_dlc/extractor/nhl.py b/yt_dlp/extractor/nhl.pysimilarity index 100%rename from youtube_dlc/extractor/nhl.pyrename to yt_dlp/extractor/nhl.pydiff --git a/youtube_dlc/extractor/nick.py b/yt_dlp/extractor/nick.pysimilarity index 100%rename from youtube_dlc/extractor/nick.pyrename to yt_dlp/extractor/nick.pydiff --git a/youtube_dlc/extractor/niconico.py b/yt_dlp/extractor/niconico.pysimilarity index 100%rename from youtube_dlc/extractor/niconico.pyrename to yt_dlp/extractor/niconico.pydiff --git a/youtube_dlc/extractor/ninecninemedia.py b/yt_dlp/extractor/ninecninemedia.pysimilarity index 100%rename from youtube_dlc/extractor/ninecninemedia.pyrename to yt_dlp/extractor/ninecninemedia.pydiff --git a/youtube_dlc/extractor/ninegag.py b/yt_dlp/extractor/ninegag.pysimilarity index 100%rename from youtube_dlc/extractor/ninegag.pyrename to yt_dlp/extractor/ninegag.pydiff --git a/youtube_dlc/extractor/ninenow.py b/yt_dlp/extractor/ninenow.pysimilarity index 100%rename from youtube_dlc/extractor/ninenow.pyrename to yt_dlp/extractor/ninenow.pydiff --git a/youtube_dlc/extractor/nintendo.py b/yt_dlp/extractor/nintendo.pysimilarity index 100%rename from youtube_dlc/extractor/nintendo.pyrename to yt_dlp/extractor/nintendo.pydiff --git a/youtube_dlc/extractor/nitter.py b/yt_dlp/extractor/nitter.pysimilarity index 100%rename from youtube_dlc/extractor/nitter.pyrename to yt_dlp/extractor/nitter.pydiff --git a/youtube_dlc/extractor/njpwworld.py b/yt_dlp/extractor/njpwworld.pysimilarity index 100%rename from youtube_dlc/extractor/njpwworld.pyrename to yt_dlp/extractor/njpwworld.pydiff --git a/youtube_dlc/extractor/nobelprize.py b/yt_dlp/extractor/nobelprize.pysimilarity index 100%rename from youtube_dlc/extractor/nobelprize.pyrename to yt_dlp/extractor/nobelprize.pydiff --git a/youtube_dlc/extractor/noco.py b/yt_dlp/extractor/noco.pysimilarity index 100%rename from youtube_dlc/extractor/noco.pyrename to yt_dlp/extractor/noco.pydiff --git a/youtube_dlc/extractor/nonktube.py b/yt_dlp/extractor/nonktube.pysimilarity index 100%rename from youtube_dlc/extractor/nonktube.pyrename to yt_dlp/extractor/nonktube.pydiff --git a/youtube_dlc/extractor/noovo.py b/yt_dlp/extractor/noovo.pysimilarity index 100%rename from youtube_dlc/extractor/noovo.pyrename to yt_dlp/extractor/noovo.pydiff --git a/youtube_dlc/extractor/normalboots.py b/yt_dlp/extractor/normalboots.pysimilarity index 100%rename from youtube_dlc/extractor/normalboots.pyrename to yt_dlp/extractor/normalboots.pydiff --git a/youtube_dlc/extractor/nosvideo.py b/yt_dlp/extractor/nosvideo.pysimilarity index 100%rename from youtube_dlc/extractor/nosvideo.pyrename to yt_dlp/extractor/nosvideo.pydiff --git a/youtube_dlc/extractor/nova.py b/yt_dlp/extractor/nova.pysimilarity index 100%rename from youtube_dlc/extractor/nova.pyrename to yt_dlp/extractor/nova.pydiff --git a/youtube_dlc/extractor/nowness.py b/yt_dlp/extractor/nowness.pysimilarity index 98%rename from youtube_dlc/extractor/nowness.pyrename to yt_dlp/extractor/nowness.pyindex c136bc8c0b..b2c715f413 100644--- a/youtube_dlc/extractor/nowness.py+++ b/yt_dlp/extractor/nowness.py@@ -37,7 +37,7 @@ class NownessBaseIE(InfoExtractor):elif source == 'youtube':return self.url_result(video_id, 'Youtube')elif source == 'cinematique':- # youtube-dlc currently doesn't support cinematique+ # yt-dlp currently doesn't support cinematique# return self.url_result('http://cinematique.com/embed/%s' % video_id, 'Cinematique')passdiff --git a/youtube_dlc/extractor/noz.py b/yt_dlp/extractor/noz.pysimilarity index 100%rename from youtube_dlc/extractor/noz.pyrename to yt_dlp/extractor/noz.pydiff --git a/youtube_dlc/extractor/npo.py b/yt_dlp/extractor/npo.pysimilarity index 100%rename from youtube_dlc/extractor/npo.pyrename to yt_dlp/extractor/npo.pydiff --git a/youtube_dlc/extractor/npr.py b/yt_dlp/extractor/npr.pysimilarity index 100%rename from youtube_dlc/extractor/npr.pyrename to yt_dlp/extractor/npr.pydiff --git a/youtube_dlc/extractor/nrk.py b/yt_dlp/extractor/nrk.pysimilarity index 100%rename from youtube_dlc/extractor/nrk.pyrename to yt_dlp/extractor/nrk.pydiff --git a/youtube_dlc/extractor/nrl.py b/yt_dlp/extractor/nrl.pysimilarity index 100%rename from youtube_dlc/extractor/nrl.pyrename to yt_dlp/extractor/nrl.pydiff --git a/youtube_dlc/extractor/ntvcojp.py b/yt_dlp/extractor/ntvcojp.pysimilarity index 100%rename from youtube_dlc/extractor/ntvcojp.pyrename to yt_dlp/extractor/ntvcojp.pydiff --git a/youtube_dlc/extractor/ntvde.py b/yt_dlp/extractor/ntvde.pysimilarity index 100%rename from youtube_dlc/extractor/ntvde.pyrename to yt_dlp/extractor/ntvde.pydiff --git a/youtube_dlc/extractor/ntvru.py b/yt_dlp/extractor/ntvru.pysimilarity index 100%rename from youtube_dlc/extractor/ntvru.pyrename to yt_dlp/extractor/ntvru.pydiff --git a/youtube_dlc/extractor/nuevo.py b/yt_dlp/extractor/nuevo.pysimilarity index 100%rename from youtube_dlc/extractor/nuevo.pyrename to yt_dlp/extractor/nuevo.pydiff --git a/youtube_dlc/extractor/nuvid.py b/yt_dlp/extractor/nuvid.pysimilarity index 100%rename from youtube_dlc/extractor/nuvid.pyrename to yt_dlp/extractor/nuvid.pydiff --git a/youtube_dlc/extractor/nytimes.py b/yt_dlp/extractor/nytimes.pysimilarity index 100%rename from youtube_dlc/extractor/nytimes.pyrename to yt_dlp/extractor/nytimes.pydiff --git a/youtube_dlc/extractor/nzz.py b/yt_dlp/extractor/nzz.pysimilarity index 100%rename from youtube_dlc/extractor/nzz.pyrename to yt_dlp/extractor/nzz.pydiff --git a/youtube_dlc/extractor/odatv.py b/yt_dlp/extractor/odatv.pysimilarity index 100%rename from youtube_dlc/extractor/odatv.pyrename to yt_dlp/extractor/odatv.pydiff --git a/youtube_dlc/extractor/odnoklassniki.py b/yt_dlp/extractor/odnoklassniki.pysimilarity index 100%rename from youtube_dlc/extractor/odnoklassniki.pyrename to yt_dlp/extractor/odnoklassniki.pydiff --git a/youtube_dlc/extractor/oktoberfesttv.py b/yt_dlp/extractor/oktoberfesttv.pysimilarity index 100%rename from youtube_dlc/extractor/oktoberfesttv.pyrename to yt_dlp/extractor/oktoberfesttv.pydiff --git a/youtube_dlc/extractor/once.py b/yt_dlp/extractor/once.pysimilarity index 100%rename from youtube_dlc/extractor/once.pyrename to yt_dlp/extractor/once.pydiff --git a/youtube_dlc/extractor/ondemandkorea.py b/yt_dlp/extractor/ondemandkorea.pysimilarity index 100%rename from youtube_dlc/extractor/ondemandkorea.pyrename to yt_dlp/extractor/ondemandkorea.pydiff --git a/youtube_dlc/extractor/onet.py b/yt_dlp/extractor/onet.pysimilarity index 100%rename from youtube_dlc/extractor/onet.pyrename to yt_dlp/extractor/onet.pydiff --git a/youtube_dlc/extractor/onionstudios.py b/yt_dlp/extractor/onionstudios.pysimilarity index 100%rename from youtube_dlc/extractor/onionstudios.pyrename to yt_dlp/extractor/onionstudios.pydiff --git a/youtube_dlc/extractor/ooyala.py b/yt_dlp/extractor/ooyala.pysimilarity index 100%rename from youtube_dlc/extractor/ooyala.pyrename to yt_dlp/extractor/ooyala.pydiff --git a/youtube_dlc/extractor/openload.py b/yt_dlp/extractor/openload.pysimilarity index 100%rename from youtube_dlc/extractor/openload.pyrename to yt_dlp/extractor/openload.pydiff --git a/youtube_dlc/extractor/ora.py b/yt_dlp/extractor/ora.pysimilarity index 100%rename from youtube_dlc/extractor/ora.pyrename to yt_dlp/extractor/ora.pydiff --git a/youtube_dlc/extractor/orf.py b/yt_dlp/extractor/orf.pysimilarity index 100%rename from youtube_dlc/extractor/orf.pyrename to yt_dlp/extractor/orf.pydiff --git a/youtube_dlc/extractor/outsidetv.py b/yt_dlp/extractor/outsidetv.pysimilarity index 100%rename from youtube_dlc/extractor/outsidetv.pyrename to yt_dlp/extractor/outsidetv.pydiff --git a/youtube_dlc/extractor/packtpub.py b/yt_dlp/extractor/packtpub.pysimilarity index 100%rename from youtube_dlc/extractor/packtpub.pyrename to yt_dlp/extractor/packtpub.pydiff --git a/youtube_dlc/extractor/pandoratv.py b/yt_dlp/extractor/pandoratv.pysimilarity index 100%rename from youtube_dlc/extractor/pandoratv.pyrename to yt_dlp/extractor/pandoratv.pydiff --git a/youtube_dlc/extractor/parliamentliveuk.py b/yt_dlp/extractor/parliamentliveuk.pysimilarity index 100%rename from youtube_dlc/extractor/parliamentliveuk.pyrename to yt_dlp/extractor/parliamentliveuk.pydiff --git a/youtube_dlc/extractor/patreon.py b/yt_dlp/extractor/patreon.pysimilarity index 100%rename from youtube_dlc/extractor/patreon.pyrename to yt_dlp/extractor/patreon.pydiff --git a/youtube_dlc/extractor/pbs.py b/yt_dlp/extractor/pbs.pysimilarity index 100%rename from youtube_dlc/extractor/pbs.pyrename to yt_dlp/extractor/pbs.pydiff --git a/youtube_dlc/extractor/pearvideo.py b/yt_dlp/extractor/pearvideo.pysimilarity index 100%rename from youtube_dlc/extractor/pearvideo.pyrename to yt_dlp/extractor/pearvideo.pydiff --git a/youtube_dlc/extractor/peertube.py b/yt_dlp/extractor/peertube.pysimilarity index 100%rename from youtube_dlc/extractor/peertube.pyrename to yt_dlp/extractor/peertube.pydiff --git a/youtube_dlc/extractor/people.py b/yt_dlp/extractor/people.pysimilarity index 100%rename from youtube_dlc/extractor/people.pyrename to yt_dlp/extractor/people.pydiff --git a/youtube_dlc/extractor/performgroup.py b/yt_dlp/extractor/performgroup.pysimilarity index 100%rename from youtube_dlc/extractor/performgroup.pyrename to yt_dlp/extractor/performgroup.pydiff --git a/youtube_dlc/extractor/periscope.py b/yt_dlp/extractor/periscope.pysimilarity index 100%rename from youtube_dlc/extractor/periscope.pyrename to yt_dlp/extractor/periscope.pydiff --git a/youtube_dlc/extractor/philharmoniedeparis.py b/yt_dlp/extractor/philharmoniedeparis.pysimilarity index 100%rename from youtube_dlc/extractor/philharmoniedeparis.pyrename to yt_dlp/extractor/philharmoniedeparis.pydiff --git a/youtube_dlc/extractor/phoenix.py b/yt_dlp/extractor/phoenix.pysimilarity index 100%rename from youtube_dlc/extractor/phoenix.pyrename to yt_dlp/extractor/phoenix.pydiff --git a/youtube_dlc/extractor/photobucket.py b/yt_dlp/extractor/photobucket.pysimilarity index 100%rename from youtube_dlc/extractor/photobucket.pyrename to yt_dlp/extractor/photobucket.pydiff --git a/youtube_dlc/extractor/picarto.py b/yt_dlp/extractor/picarto.pysimilarity index 100%rename from youtube_dlc/extractor/picarto.pyrename to yt_dlp/extractor/picarto.pydiff --git a/youtube_dlc/extractor/piksel.py b/yt_dlp/extractor/piksel.pysimilarity index 100%rename from youtube_dlc/extractor/piksel.pyrename to yt_dlp/extractor/piksel.pydiff --git a/youtube_dlc/extractor/pinkbike.py b/yt_dlp/extractor/pinkbike.pysimilarity index 100%rename from youtube_dlc/extractor/pinkbike.pyrename to yt_dlp/extractor/pinkbike.pydiff --git a/youtube_dlc/extractor/pinterest.py b/yt_dlp/extractor/pinterest.pysimilarity index 100%rename from youtube_dlc/extractor/pinterest.pyrename to yt_dlp/extractor/pinterest.pydiff --git a/youtube_dlc/extractor/pladform.py b/yt_dlp/extractor/pladform.pysimilarity index 100%rename from youtube_dlc/extractor/pladform.pyrename to yt_dlp/extractor/pladform.pydiff --git a/youtube_dlc/extractor/platzi.py b/yt_dlp/extractor/platzi.pysimilarity index 100%rename from youtube_dlc/extractor/platzi.pyrename to yt_dlp/extractor/platzi.pydiff --git a/youtube_dlc/extractor/playfm.py b/yt_dlp/extractor/playfm.pysimilarity index 100%rename from youtube_dlc/extractor/playfm.pyrename to yt_dlp/extractor/playfm.pydiff --git a/youtube_dlc/extractor/playplustv.py b/yt_dlp/extractor/playplustv.pysimilarity index 100%rename from youtube_dlc/extractor/playplustv.pyrename to yt_dlp/extractor/playplustv.pydiff --git a/youtube_dlc/extractor/plays.py b/yt_dlp/extractor/plays.pysimilarity index 100%rename from youtube_dlc/extractor/plays.pyrename to yt_dlp/extractor/plays.pydiff --git a/youtube_dlc/extractor/playtvak.py b/yt_dlp/extractor/playtvak.pysimilarity index 100%rename from youtube_dlc/extractor/playtvak.pyrename to yt_dlp/extractor/playtvak.pydiff --git a/youtube_dlc/extractor/playvid.py b/yt_dlp/extractor/playvid.pysimilarity index 100%rename from youtube_dlc/extractor/playvid.pyrename to yt_dlp/extractor/playvid.pydiff --git a/youtube_dlc/extractor/playwire.py b/yt_dlp/extractor/playwire.pysimilarity index 100%rename from youtube_dlc/extractor/playwire.pyrename to yt_dlp/extractor/playwire.pydiff --git a/youtube_dlc/extractor/pluralsight.py b/yt_dlp/extractor/pluralsight.pysimilarity index 100%rename from youtube_dlc/extractor/pluralsight.pyrename to yt_dlp/extractor/pluralsight.pydiff --git a/youtube_dlc/extractor/podomatic.py b/yt_dlp/extractor/podomatic.pysimilarity index 100%rename from youtube_dlc/extractor/podomatic.pyrename to yt_dlp/extractor/podomatic.pydiff --git a/youtube_dlc/extractor/pokemon.py b/yt_dlp/extractor/pokemon.pysimilarity index 100%rename from youtube_dlc/extractor/pokemon.pyrename to yt_dlp/extractor/pokemon.pydiff --git a/youtube_dlc/extractor/polskieradio.py b/yt_dlp/extractor/polskieradio.pysimilarity index 100%rename from youtube_dlc/extractor/polskieradio.pyrename to yt_dlp/extractor/polskieradio.pydiff --git a/youtube_dlc/extractor/popcorntimes.py b/yt_dlp/extractor/popcorntimes.pysimilarity index 100%rename from youtube_dlc/extractor/popcorntimes.pyrename to yt_dlp/extractor/popcorntimes.pydiff --git a/youtube_dlc/extractor/popcorntv.py b/yt_dlp/extractor/popcorntv.pysimilarity index 100%rename from youtube_dlc/extractor/popcorntv.pyrename to yt_dlp/extractor/popcorntv.pydiff --git a/youtube_dlc/extractor/porn91.py b/yt_dlp/extractor/porn91.pysimilarity index 100%rename from youtube_dlc/extractor/porn91.pyrename to yt_dlp/extractor/porn91.pydiff --git a/youtube_dlc/extractor/porncom.py b/yt_dlp/extractor/porncom.pysimilarity index 100%rename from youtube_dlc/extractor/porncom.pyrename to yt_dlp/extractor/porncom.pydiff --git a/youtube_dlc/extractor/pornhd.py b/yt_dlp/extractor/pornhd.pysimilarity index 100%rename from youtube_dlc/extractor/pornhd.pyrename to yt_dlp/extractor/pornhd.pydiff --git a/youtube_dlc/extractor/pornhub.py b/yt_dlp/extractor/pornhub.pysimilarity index 100%rename from youtube_dlc/extractor/pornhub.pyrename to yt_dlp/extractor/pornhub.pydiff --git a/youtube_dlc/extractor/pornotube.py b/yt_dlp/extractor/pornotube.pysimilarity index 100%rename from youtube_dlc/extractor/pornotube.pyrename to yt_dlp/extractor/pornotube.pydiff --git a/youtube_dlc/extractor/pornovoisines.py b/yt_dlp/extractor/pornovoisines.pysimilarity index 100%rename from youtube_dlc/extractor/pornovoisines.pyrename to yt_dlp/extractor/pornovoisines.pydiff --git a/youtube_dlc/extractor/pornoxo.py b/yt_dlp/extractor/pornoxo.pysimilarity index 100%rename from youtube_dlc/extractor/pornoxo.pyrename to yt_dlp/extractor/pornoxo.pydiff --git a/youtube_dlc/extractor/presstv.py b/yt_dlp/extractor/presstv.pysimilarity index 100%rename from youtube_dlc/extractor/presstv.pyrename to yt_dlp/extractor/presstv.pydiff --git a/youtube_dlc/extractor/prosiebensat1.py b/yt_dlp/extractor/prosiebensat1.pysimilarity index 100%rename from youtube_dlc/extractor/prosiebensat1.pyrename to yt_dlp/extractor/prosiebensat1.pydiff --git a/youtube_dlc/extractor/puhutv.py b/yt_dlp/extractor/puhutv.pysimilarity index 100%rename from youtube_dlc/extractor/puhutv.pyrename to yt_dlp/extractor/puhutv.pydiff --git a/youtube_dlc/extractor/puls4.py b/yt_dlp/extractor/puls4.pysimilarity index 100%rename from youtube_dlc/extractor/puls4.pyrename to yt_dlp/extractor/puls4.pydiff --git a/youtube_dlc/extractor/pyvideo.py b/yt_dlp/extractor/pyvideo.pysimilarity index 100%rename from youtube_dlc/extractor/pyvideo.pyrename to yt_dlp/extractor/pyvideo.pydiff --git a/youtube_dlc/extractor/qqmusic.py b/yt_dlp/extractor/qqmusic.pysimilarity index 100%rename from youtube_dlc/extractor/qqmusic.pyrename to yt_dlp/extractor/qqmusic.pydiff --git a/youtube_dlc/extractor/r7.py b/yt_dlp/extractor/r7.pysimilarity index 100%rename from youtube_dlc/extractor/r7.pyrename to yt_dlp/extractor/r7.pydiff --git a/youtube_dlc/extractor/radiobremen.py b/yt_dlp/extractor/radiobremen.pysimilarity index 100%rename from youtube_dlc/extractor/radiobremen.pyrename to yt_dlp/extractor/radiobremen.pydiff --git a/youtube_dlc/extractor/radiocanada.py b/yt_dlp/extractor/radiocanada.pysimilarity index 100%rename from youtube_dlc/extractor/radiocanada.pyrename to yt_dlp/extractor/radiocanada.pydiff --git a/youtube_dlc/extractor/radiode.py b/yt_dlp/extractor/radiode.pysimilarity index 100%rename from youtube_dlc/extractor/radiode.pyrename to yt_dlp/extractor/radiode.pydiff --git a/youtube_dlc/extractor/radiofrance.py b/yt_dlp/extractor/radiofrance.pysimilarity index 100%rename from youtube_dlc/extractor/radiofrance.pyrename to yt_dlp/extractor/radiofrance.pydiff --git a/youtube_dlc/extractor/radiojavan.py b/yt_dlp/extractor/radiojavan.pysimilarity index 100%rename from youtube_dlc/extractor/radiojavan.pyrename to yt_dlp/extractor/radiojavan.pydiff --git a/youtube_dlc/extractor/rai.py b/yt_dlp/extractor/rai.pysimilarity index 100%rename from youtube_dlc/extractor/rai.pyrename to yt_dlp/extractor/rai.pydiff --git a/youtube_dlc/extractor/raywenderlich.py b/yt_dlp/extractor/raywenderlich.pysimilarity index 100%rename from youtube_dlc/extractor/raywenderlich.pyrename to yt_dlp/extractor/raywenderlich.pydiff --git a/youtube_dlc/extractor/rbmaradio.py b/yt_dlp/extractor/rbmaradio.pysimilarity index 100%rename from youtube_dlc/extractor/rbmaradio.pyrename to yt_dlp/extractor/rbmaradio.pydiff --git a/youtube_dlc/extractor/rcs.py b/yt_dlp/extractor/rcs.pysimilarity index 100%rename from youtube_dlc/extractor/rcs.pyrename to yt_dlp/extractor/rcs.pydiff --git a/youtube_dlc/extractor/rds.py b/yt_dlp/extractor/rds.pysimilarity index 100%rename from youtube_dlc/extractor/rds.pyrename to yt_dlp/extractor/rds.pydiff --git a/youtube_dlc/extractor/redbulltv.py b/yt_dlp/extractor/redbulltv.pysimilarity index 100%rename from youtube_dlc/extractor/redbulltv.pyrename to yt_dlp/extractor/redbulltv.pydiff --git a/youtube_dlc/extractor/reddit.py b/yt_dlp/extractor/reddit.pysimilarity index 100%rename from youtube_dlc/extractor/reddit.pyrename to yt_dlp/extractor/reddit.pydiff --git a/youtube_dlc/extractor/redtube.py b/yt_dlp/extractor/redtube.pysimilarity index 100%rename from youtube_dlc/extractor/redtube.pyrename to yt_dlp/extractor/redtube.pydiff --git a/youtube_dlc/extractor/regiotv.py b/yt_dlp/extractor/regiotv.pysimilarity index 100%rename from youtube_dlc/extractor/regiotv.pyrename to yt_dlp/extractor/regiotv.pydiff --git a/youtube_dlc/extractor/rentv.py b/yt_dlp/extractor/rentv.pysimilarity index 100%rename from youtube_dlc/extractor/rentv.pyrename to yt_dlp/extractor/rentv.pydiff --git a/youtube_dlc/extractor/restudy.py b/yt_dlp/extractor/restudy.pysimilarity index 100%rename from youtube_dlc/extractor/restudy.pyrename to yt_dlp/extractor/restudy.pydiff --git a/youtube_dlc/extractor/reuters.py b/yt_dlp/extractor/reuters.pysimilarity index 100%rename from youtube_dlc/extractor/reuters.pyrename to yt_dlp/extractor/reuters.pydiff --git a/youtube_dlc/extractor/reverbnation.py b/yt_dlp/extractor/reverbnation.pysimilarity index 100%rename from youtube_dlc/extractor/reverbnation.pyrename to yt_dlp/extractor/reverbnation.pydiff --git a/youtube_dlc/extractor/rice.py b/yt_dlp/extractor/rice.pysimilarity index 100%rename from youtube_dlc/extractor/rice.pyrename to yt_dlp/extractor/rice.pydiff --git a/youtube_dlc/extractor/rmcdecouverte.py b/yt_dlp/extractor/rmcdecouverte.pysimilarity index 100%rename from youtube_dlc/extractor/rmcdecouverte.pyrename to yt_dlp/extractor/rmcdecouverte.pydiff --git a/youtube_dlc/extractor/ro220.py b/yt_dlp/extractor/ro220.pysimilarity index 100%rename from youtube_dlc/extractor/ro220.pyrename to yt_dlp/extractor/ro220.pydiff --git a/youtube_dlc/extractor/rockstargames.py b/yt_dlp/extractor/rockstargames.pysimilarity index 100%rename from youtube_dlc/extractor/rockstargames.pyrename to yt_dlp/extractor/rockstargames.pydiff --git a/youtube_dlc/extractor/roosterteeth.py b/yt_dlp/extractor/roosterteeth.pysimilarity index 100%rename from youtube_dlc/extractor/roosterteeth.pyrename to yt_dlp/extractor/roosterteeth.pydiff --git a/youtube_dlc/extractor/rottentomatoes.py b/yt_dlp/extractor/rottentomatoes.pysimilarity index 100%rename from youtube_dlc/extractor/rottentomatoes.pyrename to yt_dlp/extractor/rottentomatoes.pydiff --git a/youtube_dlc/extractor/roxwel.py b/yt_dlp/extractor/roxwel.pysimilarity index 100%rename from youtube_dlc/extractor/roxwel.pyrename to yt_dlp/extractor/roxwel.pydiff --git a/youtube_dlc/extractor/rozhlas.py b/yt_dlp/extractor/rozhlas.pysimilarity index 100%rename from youtube_dlc/extractor/rozhlas.pyrename to yt_dlp/extractor/rozhlas.pydiff --git a/youtube_dlc/extractor/rtbf.py b/yt_dlp/extractor/rtbf.pysimilarity index 100%rename from youtube_dlc/extractor/rtbf.pyrename to yt_dlp/extractor/rtbf.pydiff --git a/youtube_dlc/extractor/rte.py b/yt_dlp/extractor/rte.pysimilarity index 100%rename from youtube_dlc/extractor/rte.pyrename to yt_dlp/extractor/rte.pydiff --git a/youtube_dlc/extractor/rtl2.py b/yt_dlp/extractor/rtl2.pysimilarity index 100%rename from youtube_dlc/extractor/rtl2.pyrename to yt_dlp/extractor/rtl2.pydiff --git a/youtube_dlc/extractor/rtlnl.py b/yt_dlp/extractor/rtlnl.pysimilarity index 100%rename from youtube_dlc/extractor/rtlnl.pyrename to yt_dlp/extractor/rtlnl.pydiff --git a/youtube_dlc/extractor/rtp.py b/yt_dlp/extractor/rtp.pysimilarity index 100%rename from youtube_dlc/extractor/rtp.pyrename to yt_dlp/extractor/rtp.pydiff --git a/youtube_dlc/extractor/rts.py b/yt_dlp/extractor/rts.pysimilarity index 100%rename from youtube_dlc/extractor/rts.pyrename to yt_dlp/extractor/rts.pydiff --git a/youtube_dlc/extractor/rtve.py b/yt_dlp/extractor/rtve.pysimilarity index 100%rename from youtube_dlc/extractor/rtve.pyrename to yt_dlp/extractor/rtve.pydiff --git a/youtube_dlc/extractor/rtvnh.py b/yt_dlp/extractor/rtvnh.pysimilarity index 100%rename from youtube_dlc/extractor/rtvnh.pyrename to yt_dlp/extractor/rtvnh.pydiff --git a/youtube_dlc/extractor/rtvs.py b/yt_dlp/extractor/rtvs.pysimilarity index 100%rename from youtube_dlc/extractor/rtvs.pyrename to yt_dlp/extractor/rtvs.pydiff --git a/youtube_dlc/extractor/ruhd.py b/yt_dlp/extractor/ruhd.pysimilarity index 100%rename from youtube_dlc/extractor/ruhd.pyrename to yt_dlp/extractor/ruhd.pydiff --git a/youtube_dlc/extractor/rumble.py b/yt_dlp/extractor/rumble.pysimilarity index 100%rename from youtube_dlc/extractor/rumble.pyrename to yt_dlp/extractor/rumble.pydiff --git a/youtube_dlc/extractor/rutube.py b/yt_dlp/extractor/rutube.pysimilarity index 100%rename from youtube_dlc/extractor/rutube.pyrename to yt_dlp/extractor/rutube.pydiff --git a/youtube_dlc/extractor/rutv.py b/yt_dlp/extractor/rutv.pysimilarity index 100%rename from youtube_dlc/extractor/rutv.pyrename to yt_dlp/extractor/rutv.pydiff --git a/youtube_dlc/extractor/ruutu.py b/yt_dlp/extractor/ruutu.pysimilarity index 100%rename from youtube_dlc/extractor/ruutu.pyrename to yt_dlp/extractor/ruutu.pydiff --git a/youtube_dlc/extractor/ruv.py b/yt_dlp/extractor/ruv.pysimilarity index 100%rename from youtube_dlc/extractor/ruv.pyrename to yt_dlp/extractor/ruv.pydiff --git a/youtube_dlc/extractor/safari.py b/yt_dlp/extractor/safari.pysimilarity index 100%rename from youtube_dlc/extractor/safari.pyrename to yt_dlp/extractor/safari.pydiff --git a/youtube_dlc/extractor/sapo.py b/yt_dlp/extractor/sapo.pysimilarity index 100%rename from youtube_dlc/extractor/sapo.pyrename to yt_dlp/extractor/sapo.pydiff --git a/youtube_dlc/extractor/savefrom.py b/yt_dlp/extractor/savefrom.pysimilarity index 100%rename from youtube_dlc/extractor/savefrom.pyrename to yt_dlp/extractor/savefrom.pydiff --git a/youtube_dlc/extractor/sbs.py b/yt_dlp/extractor/sbs.pysimilarity index 100%rename from youtube_dlc/extractor/sbs.pyrename to yt_dlp/extractor/sbs.pydiff --git a/youtube_dlc/extractor/screencast.py b/yt_dlp/extractor/screencast.pysimilarity index 100%rename from youtube_dlc/extractor/screencast.pyrename to yt_dlp/extractor/screencast.pydiff --git a/youtube_dlc/extractor/screencastomatic.py b/yt_dlp/extractor/screencastomatic.pysimilarity index 100%rename from youtube_dlc/extractor/screencastomatic.pyrename to yt_dlp/extractor/screencastomatic.pydiff --git a/youtube_dlc/extractor/scrippsnetworks.py b/yt_dlp/extractor/scrippsnetworks.pysimilarity index 100%rename from youtube_dlc/extractor/scrippsnetworks.pyrename to yt_dlp/extractor/scrippsnetworks.pydiff --git a/youtube_dlc/extractor/scte.py b/yt_dlp/extractor/scte.pysimilarity index 100%rename from youtube_dlc/extractor/scte.pyrename to yt_dlp/extractor/scte.pydiff --git a/youtube_dlc/extractor/seeker.py b/yt_dlp/extractor/seeker.pysimilarity index 100%rename from youtube_dlc/extractor/seeker.pyrename to yt_dlp/extractor/seeker.pydiff --git a/youtube_dlc/extractor/senateisvp.py b/yt_dlp/extractor/senateisvp.pysimilarity index 100%rename from youtube_dlc/extractor/senateisvp.pyrename to yt_dlp/extractor/senateisvp.pydiff --git a/youtube_dlc/extractor/sendtonews.py b/yt_dlp/extractor/sendtonews.pysimilarity index 100%rename from youtube_dlc/extractor/sendtonews.pyrename to yt_dlp/extractor/sendtonews.pydiff --git a/youtube_dlc/extractor/servus.py b/yt_dlp/extractor/servus.pysimilarity index 100%rename from youtube_dlc/extractor/servus.pyrename to yt_dlp/extractor/servus.pydiff --git a/youtube_dlc/extractor/sevenplus.py b/yt_dlp/extractor/sevenplus.pysimilarity index 100%rename from youtube_dlc/extractor/sevenplus.pyrename to yt_dlp/extractor/sevenplus.pydiff --git a/youtube_dlc/extractor/sexu.py b/yt_dlp/extractor/sexu.pysimilarity index 100%rename from youtube_dlc/extractor/sexu.pyrename to yt_dlp/extractor/sexu.pydiff --git a/youtube_dlc/extractor/seznamzpravy.py b/yt_dlp/extractor/seznamzpravy.pysimilarity index 100%rename from youtube_dlc/extractor/seznamzpravy.pyrename to yt_dlp/extractor/seznamzpravy.pydiff --git a/youtube_dlc/extractor/shahid.py b/yt_dlp/extractor/shahid.pysimilarity index 100%rename from youtube_dlc/extractor/shahid.pyrename to yt_dlp/extractor/shahid.pydiff --git a/youtube_dlc/extractor/shared.py b/yt_dlp/extractor/shared.pysimilarity index 100%rename from youtube_dlc/extractor/shared.pyrename to yt_dlp/extractor/shared.pydiff --git a/youtube_dlc/extractor/showroomlive.py b/yt_dlp/extractor/showroomlive.pysimilarity index 100%rename from youtube_dlc/extractor/showroomlive.pyrename to yt_dlp/extractor/showroomlive.pydiff --git a/youtube_dlc/extractor/simplecast.py b/yt_dlp/extractor/simplecast.pysimilarity index 100%rename from youtube_dlc/extractor/simplecast.pyrename to yt_dlp/extractor/simplecast.pydiff --git a/youtube_dlc/extractor/sina.py b/yt_dlp/extractor/sina.pysimilarity index 100%rename from youtube_dlc/extractor/sina.pyrename to yt_dlp/extractor/sina.pydiff --git a/youtube_dlc/extractor/sixplay.py b/yt_dlp/extractor/sixplay.pysimilarity index 100%rename from youtube_dlc/extractor/sixplay.pyrename to yt_dlp/extractor/sixplay.pydiff --git a/youtube_dlc/extractor/sky.py b/yt_dlp/extractor/sky.pysimilarity index 100%rename from youtube_dlc/extractor/sky.pyrename to yt_dlp/extractor/sky.pydiff --git a/youtube_dlc/extractor/skyit.py b/yt_dlp/extractor/skyit.pysimilarity index 100%rename from youtube_dlc/extractor/skyit.pyrename to yt_dlp/extractor/skyit.pydiff --git a/youtube_dlc/extractor/skylinewebcams.py b/yt_dlp/extractor/skylinewebcams.pysimilarity index 100%rename from youtube_dlc/extractor/skylinewebcams.pyrename to yt_dlp/extractor/skylinewebcams.pydiff --git a/youtube_dlc/extractor/skynewsarabia.py b/yt_dlp/extractor/skynewsarabia.pysimilarity index 100%rename from youtube_dlc/extractor/skynewsarabia.pyrename to yt_dlp/extractor/skynewsarabia.pydiff --git a/youtube_dlc/extractor/slideshare.py b/yt_dlp/extractor/slideshare.pysimilarity index 100%rename from youtube_dlc/extractor/slideshare.pyrename to yt_dlp/extractor/slideshare.pydiff --git a/youtube_dlc/extractor/slideslive.py b/yt_dlp/extractor/slideslive.pysimilarity index 100%rename from youtube_dlc/extractor/slideslive.pyrename to yt_dlp/extractor/slideslive.pydiff --git a/youtube_dlc/extractor/slutload.py b/yt_dlp/extractor/slutload.pysimilarity index 100%rename from youtube_dlc/extractor/slutload.pyrename to yt_dlp/extractor/slutload.pydiff --git a/youtube_dlc/extractor/snotr.py b/yt_dlp/extractor/snotr.pysimilarity index 100%rename from youtube_dlc/extractor/snotr.pyrename to yt_dlp/extractor/snotr.pydiff --git a/youtube_dlc/extractor/sohu.py b/yt_dlp/extractor/sohu.pysimilarity index 99%rename from youtube_dlc/extractor/sohu.pyrename to yt_dlp/extractor/sohu.pyindex 76b3cc6b6b..a62ed84f1e 100644--- a/youtube_dlc/extractor/sohu.py+++ b/yt_dlp/extractor/sohu.py@@ -77,7 +77,7 @@ class SohuIE(InfoExtractor):'info_dict': {'id': '78932792','ext': 'mp4',- 'title': 'youtube-dlc testing video',+ 'title': 'youtube-dl testing video',},'params': {'skip_download': Truediff --git a/youtube_dlc/extractor/sonyliv.py b/yt_dlp/extractor/sonyliv.pysimilarity index 100%rename from youtube_dlc/extractor/sonyliv.pyrename to yt_dlp/extractor/sonyliv.pydiff --git a/youtube_dlc/extractor/soundcloud.py b/yt_dlp/extractor/soundcloud.pysimilarity index 99%rename from youtube_dlc/extractor/soundcloud.pyrename to yt_dlp/extractor/soundcloud.pyindex 72562379bb..d72a02dca6 100644--- a/youtube_dlc/extractor/soundcloud.py+++ b/yt_dlp/extractor/soundcloud.py@@ -122,7 +122,7 @@ class SoundcloudIE(InfoExtractor):},# private link{- 'url': 'https://soundcloud.com/jaimemf/youtube-dlc-test-video-a-y-baw/s-8Pjrp',+ 'url': 'https://soundcloud.com/jaimemf/youtube-dl-test-video-a-y-baw/s-8Pjrp','md5': 'aa0dd32bfea9b0c5ef4f02aacd080604','info_dict': {'id': '123998367',diff --git a/youtube_dlc/extractor/soundgasm.py b/yt_dlp/extractor/soundgasm.pysimilarity index 100%rename from youtube_dlc/extractor/soundgasm.pyrename to yt_dlp/extractor/soundgasm.pydiff --git a/youtube_dlc/extractor/southpark.py b/yt_dlp/extractor/southpark.pysimilarity index 100%rename from youtube_dlc/extractor/southpark.pyrename to yt_dlp/extractor/southpark.pydiff --git a/youtube_dlc/extractor/spankbang.py b/yt_dlp/extractor/spankbang.pysimilarity index 100%rename from youtube_dlc/extractor/spankbang.pyrename to yt_dlp/extractor/spankbang.pydiff --git a/youtube_dlc/extractor/spankwire.py b/yt_dlp/extractor/spankwire.pysimilarity index 100%rename from youtube_dlc/extractor/spankwire.pyrename to yt_dlp/extractor/spankwire.pydiff --git a/youtube_dlc/extractor/spiegel.py b/yt_dlp/extractor/spiegel.pysimilarity index 100%rename from youtube_dlc/extractor/spiegel.pyrename to yt_dlp/extractor/spiegel.pydiff --git a/youtube_dlc/extractor/spiegeltv.py b/yt_dlp/extractor/spiegeltv.pysimilarity index 100%rename from youtube_dlc/extractor/spiegeltv.pyrename to yt_dlp/extractor/spiegeltv.pydiff --git a/youtube_dlc/extractor/spike.py b/yt_dlp/extractor/spike.pysimilarity index 100%rename from youtube_dlc/extractor/spike.pyrename to yt_dlp/extractor/spike.pydiff --git a/youtube_dlc/extractor/sport5.py b/yt_dlp/extractor/sport5.pysimilarity index 100%rename from youtube_dlc/extractor/sport5.pyrename to yt_dlp/extractor/sport5.pydiff --git a/youtube_dlc/extractor/sportbox.py b/yt_dlp/extractor/sportbox.pysimilarity index 100%rename from youtube_dlc/extractor/sportbox.pyrename to yt_dlp/extractor/sportbox.pydiff --git a/youtube_dlc/extractor/sportdeutschland.py b/yt_dlp/extractor/sportdeutschland.pysimilarity index 100%rename from youtube_dlc/extractor/sportdeutschland.pyrename to yt_dlp/extractor/sportdeutschland.pydiff --git a/youtube_dlc/extractor/spotify.py b/yt_dlp/extractor/spotify.pysimilarity index 100%rename from youtube_dlc/extractor/spotify.pyrename to yt_dlp/extractor/spotify.pydiff --git a/youtube_dlc/extractor/spreaker.py b/yt_dlp/extractor/spreaker.pysimilarity index 100%rename from youtube_dlc/extractor/spreaker.pyrename to yt_dlp/extractor/spreaker.pydiff --git a/youtube_dlc/extractor/springboardplatform.py b/yt_dlp/extractor/springboardplatform.pysimilarity index 100%rename from youtube_dlc/extractor/springboardplatform.pyrename to yt_dlp/extractor/springboardplatform.pydiff --git a/youtube_dlc/extractor/sprout.py b/yt_dlp/extractor/sprout.pysimilarity index 100%rename from youtube_dlc/extractor/sprout.pyrename to yt_dlp/extractor/sprout.pydiff --git a/youtube_dlc/extractor/srgssr.py b/yt_dlp/extractor/srgssr.pysimilarity index 100%rename from youtube_dlc/extractor/srgssr.pyrename to yt_dlp/extractor/srgssr.pydiff --git a/youtube_dlc/extractor/srmediathek.py b/yt_dlp/extractor/srmediathek.pysimilarity index 100%rename from youtube_dlc/extractor/srmediathek.pyrename to yt_dlp/extractor/srmediathek.pydiff --git a/youtube_dlc/extractor/stanfordoc.py b/yt_dlp/extractor/stanfordoc.pysimilarity index 100%rename from youtube_dlc/extractor/stanfordoc.pyrename to yt_dlp/extractor/stanfordoc.pydiff --git a/youtube_dlc/extractor/steam.py b/yt_dlp/extractor/steam.pysimilarity index 100%rename from youtube_dlc/extractor/steam.pyrename to yt_dlp/extractor/steam.pydiff --git a/youtube_dlc/extractor/stitcher.py b/yt_dlp/extractor/stitcher.pysimilarity index 100%rename from youtube_dlc/extractor/stitcher.pyrename to yt_dlp/extractor/stitcher.pydiff --git a/youtube_dlc/extractor/storyfire.py b/yt_dlp/extractor/storyfire.pysimilarity index 100%rename from youtube_dlc/extractor/storyfire.pyrename to yt_dlp/extractor/storyfire.pydiff --git a/youtube_dlc/extractor/streamable.py b/yt_dlp/extractor/streamable.pysimilarity index 100%rename from youtube_dlc/extractor/streamable.pyrename to yt_dlp/extractor/streamable.pydiff --git a/youtube_dlc/extractor/streamcloud.py b/yt_dlp/extractor/streamcloud.pysimilarity index 93%rename from youtube_dlc/extractor/streamcloud.pyrename to yt_dlp/extractor/streamcloud.pyindex 32eb2b92d3..b97bb43741 100644--- a/youtube_dlc/extractor/streamcloud.py+++ b/yt_dlp/extractor/streamcloud.py@@ -15,12 +15,12 @@ class StreamcloudIE(InfoExtractor):_VALID_URL = r'https?://streamcloud\.eu/(?P<id>[a-zA-Z0-9_-]+)(?:/(?P<fname>[^#?]*)\.html)?'_TESTS = [{- 'url': 'http://streamcloud.eu/skp9j99s4bpz/youtube-dlc_test_video_____________-BaW_jenozKc.mp4.html',+ 'url': 'http://streamcloud.eu/skp9j99s4bpz/youtube-dl_test_video_____________-BaW_jenozKc.mp4.html','md5': '6bea4c7fa5daaacc2a946b7146286686','info_dict': {'id': 'skp9j99s4bpz','ext': 'mp4',- 'title': 'youtube-dlc test video \'/\\ ä ↭',+ 'title': 'youtube-dl test video \'/\\ ä ↭',},'skip': 'Only available from the EU'}, {diff --git a/youtube_dlc/extractor/streamcz.py b/yt_dlp/extractor/streamcz.pysimilarity index 100%rename from youtube_dlc/extractor/streamcz.pyrename to yt_dlp/extractor/streamcz.pydiff --git a/youtube_dlc/extractor/streetvoice.py b/yt_dlp/extractor/streetvoice.pysimilarity index 100%rename from youtube_dlc/extractor/streetvoice.pyrename to yt_dlp/extractor/streetvoice.pydiff --git a/youtube_dlc/extractor/stretchinternet.py b/yt_dlp/extractor/stretchinternet.pysimilarity index 100%rename from youtube_dlc/extractor/stretchinternet.pyrename to yt_dlp/extractor/stretchinternet.pydiff --git a/youtube_dlc/extractor/stv.py b/yt_dlp/extractor/stv.pysimilarity index 100%rename from youtube_dlc/extractor/stv.pyrename to yt_dlp/extractor/stv.pydiff --git a/youtube_dlc/extractor/sunporno.py b/yt_dlp/extractor/sunporno.pysimilarity index 100%rename from youtube_dlc/extractor/sunporno.pyrename to yt_dlp/extractor/sunporno.pydiff --git a/youtube_dlc/extractor/sverigesradio.py b/yt_dlp/extractor/sverigesradio.pysimilarity index 100%rename from youtube_dlc/extractor/sverigesradio.pyrename to yt_dlp/extractor/sverigesradio.pydiff --git a/youtube_dlc/extractor/svt.py b/yt_dlp/extractor/svt.pysimilarity index 100%rename from youtube_dlc/extractor/svt.pyrename to yt_dlp/extractor/svt.pydiff --git a/youtube_dlc/extractor/swrmediathek.py b/yt_dlp/extractor/swrmediathek.pysimilarity index 100%rename from youtube_dlc/extractor/swrmediathek.pyrename to yt_dlp/extractor/swrmediathek.pydiff --git a/youtube_dlc/extractor/syfy.py b/yt_dlp/extractor/syfy.pysimilarity index 100%rename from youtube_dlc/extractor/syfy.pyrename to yt_dlp/extractor/syfy.pydiff --git a/youtube_dlc/extractor/sztvhu.py b/yt_dlp/extractor/sztvhu.pysimilarity index 100%rename from youtube_dlc/extractor/sztvhu.pyrename to yt_dlp/extractor/sztvhu.pydiff --git a/youtube_dlc/extractor/tagesschau.py b/yt_dlp/extractor/tagesschau.pysimilarity index 100%rename from youtube_dlc/extractor/tagesschau.pyrename to yt_dlp/extractor/tagesschau.pydiff --git a/youtube_dlc/extractor/tass.py b/yt_dlp/extractor/tass.pysimilarity index 100%rename from youtube_dlc/extractor/tass.pyrename to yt_dlp/extractor/tass.pydiff --git a/youtube_dlc/extractor/tastytrade.py b/yt_dlp/extractor/tastytrade.pysimilarity index 100%rename from youtube_dlc/extractor/tastytrade.pyrename to yt_dlp/extractor/tastytrade.pydiff --git a/youtube_dlc/extractor/tbs.py b/yt_dlp/extractor/tbs.pysimilarity index 100%rename from youtube_dlc/extractor/tbs.pyrename to yt_dlp/extractor/tbs.pydiff --git a/youtube_dlc/extractor/tdslifeway.py b/yt_dlp/extractor/tdslifeway.pysimilarity index 100%rename from youtube_dlc/extractor/tdslifeway.pyrename to yt_dlp/extractor/tdslifeway.pydiff --git a/youtube_dlc/extractor/teachable.py b/yt_dlp/extractor/teachable.pysimilarity index 100%rename from youtube_dlc/extractor/teachable.pyrename to yt_dlp/extractor/teachable.pydiff --git a/youtube_dlc/extractor/teachertube.py b/yt_dlp/extractor/teachertube.pysimilarity index 100%rename from youtube_dlc/extractor/teachertube.pyrename to yt_dlp/extractor/teachertube.pydiff --git a/youtube_dlc/extractor/teachingchannel.py b/yt_dlp/extractor/teachingchannel.pysimilarity index 100%rename from youtube_dlc/extractor/teachingchannel.pyrename to yt_dlp/extractor/teachingchannel.pydiff --git a/youtube_dlc/extractor/teamcoco.py b/yt_dlp/extractor/teamcoco.pysimilarity index 100%rename from youtube_dlc/extractor/teamcoco.pyrename to yt_dlp/extractor/teamcoco.pydiff --git a/youtube_dlc/extractor/teamtreehouse.py b/yt_dlp/extractor/teamtreehouse.pysimilarity index 100%rename from youtube_dlc/extractor/teamtreehouse.pyrename to yt_dlp/extractor/teamtreehouse.pydiff --git a/youtube_dlc/extractor/techtalks.py b/yt_dlp/extractor/techtalks.pysimilarity index 100%rename from youtube_dlc/extractor/techtalks.pyrename to yt_dlp/extractor/techtalks.pydiff --git a/youtube_dlc/extractor/ted.py b/yt_dlp/extractor/ted.pysimilarity index 100%rename from youtube_dlc/extractor/ted.pyrename to yt_dlp/extractor/ted.pydiff --git a/youtube_dlc/extractor/tele13.py b/yt_dlp/extractor/tele13.pysimilarity index 100%rename from youtube_dlc/extractor/tele13.pyrename to yt_dlp/extractor/tele13.pydiff --git a/youtube_dlc/extractor/tele5.py b/yt_dlp/extractor/tele5.pysimilarity index 100%rename from youtube_dlc/extractor/tele5.pyrename to yt_dlp/extractor/tele5.pydiff --git a/youtube_dlc/extractor/telebruxelles.py b/yt_dlp/extractor/telebruxelles.pysimilarity index 100%rename from youtube_dlc/extractor/telebruxelles.pyrename to yt_dlp/extractor/telebruxelles.pydiff --git a/youtube_dlc/extractor/telecinco.py b/yt_dlp/extractor/telecinco.pysimilarity index 100%rename from youtube_dlc/extractor/telecinco.pyrename to yt_dlp/extractor/telecinco.pydiff --git a/youtube_dlc/extractor/telegraaf.py b/yt_dlp/extractor/telegraaf.pysimilarity index 100%rename from youtube_dlc/extractor/telegraaf.pyrename to yt_dlp/extractor/telegraaf.pydiff --git a/youtube_dlc/extractor/telemb.py b/yt_dlp/extractor/telemb.pysimilarity index 100%rename from youtube_dlc/extractor/telemb.pyrename to yt_dlp/extractor/telemb.pydiff --git a/youtube_dlc/extractor/telequebec.py b/yt_dlp/extractor/telequebec.pysimilarity index 100%rename from youtube_dlc/extractor/telequebec.pyrename to yt_dlp/extractor/telequebec.pydiff --git a/youtube_dlc/extractor/teletask.py b/yt_dlp/extractor/teletask.pysimilarity index 100%rename from youtube_dlc/extractor/teletask.pyrename to yt_dlp/extractor/teletask.pydiff --git a/youtube_dlc/extractor/telewebion.py b/yt_dlp/extractor/telewebion.pysimilarity index 100%rename from youtube_dlc/extractor/telewebion.pyrename to yt_dlp/extractor/telewebion.pydiff --git a/youtube_dlc/extractor/tennistv.py b/yt_dlp/extractor/tennistv.pysimilarity index 100%rename from youtube_dlc/extractor/tennistv.pyrename to yt_dlp/extractor/tennistv.pydiff --git a/youtube_dlc/extractor/tenplay.py b/yt_dlp/extractor/tenplay.pysimilarity index 100%rename from youtube_dlc/extractor/tenplay.pyrename to yt_dlp/extractor/tenplay.pydiff --git a/youtube_dlc/extractor/testurl.py b/yt_dlp/extractor/testurl.pysimilarity index 100%rename from youtube_dlc/extractor/testurl.pyrename to yt_dlp/extractor/testurl.pydiff --git a/youtube_dlc/extractor/tf1.py b/yt_dlp/extractor/tf1.pysimilarity index 100%rename from youtube_dlc/extractor/tf1.pyrename to yt_dlp/extractor/tf1.pydiff --git a/youtube_dlc/extractor/tfo.py b/yt_dlp/extractor/tfo.pysimilarity index 100%rename from youtube_dlc/extractor/tfo.pyrename to yt_dlp/extractor/tfo.pydiff --git a/youtube_dlc/extractor/theintercept.py b/yt_dlp/extractor/theintercept.pysimilarity index 100%rename from youtube_dlc/extractor/theintercept.pyrename to yt_dlp/extractor/theintercept.pydiff --git a/youtube_dlc/extractor/theplatform.py b/yt_dlp/extractor/theplatform.pysimilarity index 100%rename from youtube_dlc/extractor/theplatform.pyrename to yt_dlp/extractor/theplatform.pydiff --git a/youtube_dlc/extractor/thescene.py b/yt_dlp/extractor/thescene.pysimilarity index 100%rename from youtube_dlc/extractor/thescene.pyrename to yt_dlp/extractor/thescene.pydiff --git a/youtube_dlc/extractor/thestar.py b/yt_dlp/extractor/thestar.pysimilarity index 100%rename from youtube_dlc/extractor/thestar.pyrename to yt_dlp/extractor/thestar.pydiff --git a/youtube_dlc/extractor/thesun.py b/yt_dlp/extractor/thesun.pysimilarity index 100%rename from youtube_dlc/extractor/thesun.pyrename to yt_dlp/extractor/thesun.pydiff --git a/youtube_dlc/extractor/theweatherchannel.py b/yt_dlp/extractor/theweatherchannel.pysimilarity index 100%rename from youtube_dlc/extractor/theweatherchannel.pyrename to yt_dlp/extractor/theweatherchannel.pydiff --git a/youtube_dlc/extractor/thisamericanlife.py b/yt_dlp/extractor/thisamericanlife.pysimilarity index 100%rename from youtube_dlc/extractor/thisamericanlife.pyrename to yt_dlp/extractor/thisamericanlife.pydiff --git a/youtube_dlc/extractor/thisav.py b/yt_dlp/extractor/thisav.pysimilarity index 100%rename from youtube_dlc/extractor/thisav.pyrename to yt_dlp/extractor/thisav.pydiff --git a/youtube_dlc/extractor/thisoldhouse.py b/yt_dlp/extractor/thisoldhouse.pysimilarity index 100%rename from youtube_dlc/extractor/thisoldhouse.pyrename to yt_dlp/extractor/thisoldhouse.pydiff --git a/youtube_dlc/extractor/thisvid.py b/yt_dlp/extractor/thisvid.pysimilarity index 100%rename from youtube_dlc/extractor/thisvid.pyrename to yt_dlp/extractor/thisvid.pydiff --git a/youtube_dlc/extractor/threeqsdn.py b/yt_dlp/extractor/threeqsdn.pysimilarity index 100%rename from youtube_dlc/extractor/threeqsdn.pyrename to yt_dlp/extractor/threeqsdn.pydiff --git a/youtube_dlc/extractor/tiktok.py b/yt_dlp/extractor/tiktok.pysimilarity index 100%rename from youtube_dlc/extractor/tiktok.pyrename to yt_dlp/extractor/tiktok.pydiff --git a/youtube_dlc/extractor/tinypic.py b/yt_dlp/extractor/tinypic.pysimilarity index 100%rename from youtube_dlc/extractor/tinypic.pyrename to yt_dlp/extractor/tinypic.pydiff --git a/youtube_dlc/extractor/tmz.py b/yt_dlp/extractor/tmz.pysimilarity index 100%rename from youtube_dlc/extractor/tmz.pyrename to yt_dlp/extractor/tmz.pydiff --git a/youtube_dlc/extractor/tnaflix.py b/yt_dlp/extractor/tnaflix.pysimilarity index 100%rename from youtube_dlc/extractor/tnaflix.pyrename to yt_dlp/extractor/tnaflix.pydiff --git a/youtube_dlc/extractor/toggle.py b/yt_dlp/extractor/toggle.pysimilarity index 100%rename from youtube_dlc/extractor/toggle.pyrename to yt_dlp/extractor/toggle.pydiff --git a/youtube_dlc/extractor/tonline.py b/yt_dlp/extractor/tonline.pysimilarity index 100%rename from youtube_dlc/extractor/tonline.pyrename to yt_dlp/extractor/tonline.pydiff --git a/youtube_dlc/extractor/toongoggles.py b/yt_dlp/extractor/toongoggles.pysimilarity index 100%rename from youtube_dlc/extractor/toongoggles.pyrename to yt_dlp/extractor/toongoggles.pydiff --git a/youtube_dlc/extractor/toutv.py b/yt_dlp/extractor/toutv.pysimilarity index 100%rename from youtube_dlc/extractor/toutv.pyrename to yt_dlp/extractor/toutv.pydiff --git a/youtube_dlc/extractor/toypics.py b/yt_dlp/extractor/toypics.pysimilarity index 100%rename from youtube_dlc/extractor/toypics.pyrename to yt_dlp/extractor/toypics.pydiff --git a/youtube_dlc/extractor/traileraddict.py b/yt_dlp/extractor/traileraddict.pysimilarity index 100%rename from youtube_dlc/extractor/traileraddict.pyrename to yt_dlp/extractor/traileraddict.pydiff --git a/youtube_dlc/extractor/trilulilu.py b/yt_dlp/extractor/trilulilu.pysimilarity index 100%rename from youtube_dlc/extractor/trilulilu.pyrename to yt_dlp/extractor/trilulilu.pydiff --git a/youtube_dlc/extractor/trovo.py b/yt_dlp/extractor/trovo.pysimilarity index 100%rename from youtube_dlc/extractor/trovo.pyrename to yt_dlp/extractor/trovo.pydiff --git a/youtube_dlc/extractor/trovolive.py b/yt_dlp/extractor/trovolive.pysimilarity index 100%rename from youtube_dlc/extractor/trovolive.pyrename to yt_dlp/extractor/trovolive.pydiff --git a/youtube_dlc/extractor/trunews.py b/yt_dlp/extractor/trunews.pysimilarity index 100%rename from youtube_dlc/extractor/trunews.pyrename to yt_dlp/extractor/trunews.pydiff --git a/youtube_dlc/extractor/trutv.py b/yt_dlp/extractor/trutv.pysimilarity index 100%rename from youtube_dlc/extractor/trutv.pyrename to yt_dlp/extractor/trutv.pydiff --git a/youtube_dlc/extractor/tube8.py b/yt_dlp/extractor/tube8.pysimilarity index 100%rename from youtube_dlc/extractor/tube8.pyrename to yt_dlp/extractor/tube8.pydiff --git a/youtube_dlc/extractor/tubitv.py b/yt_dlp/extractor/tubitv.pysimilarity index 100%rename from youtube_dlc/extractor/tubitv.pyrename to yt_dlp/extractor/tubitv.pydiff --git a/youtube_dlc/extractor/tudou.py b/yt_dlp/extractor/tudou.pysimilarity index 100%rename from youtube_dlc/extractor/tudou.pyrename to yt_dlp/extractor/tudou.pydiff --git a/youtube_dlc/extractor/tumblr.py b/yt_dlp/extractor/tumblr.pysimilarity index 100%rename from youtube_dlc/extractor/tumblr.pyrename to yt_dlp/extractor/tumblr.pydiff --git a/youtube_dlc/extractor/tunein.py b/yt_dlp/extractor/tunein.pysimilarity index 100%rename from youtube_dlc/extractor/tunein.pyrename to yt_dlp/extractor/tunein.pydiff --git a/youtube_dlc/extractor/tunepk.py b/yt_dlp/extractor/tunepk.pysimilarity index 100%rename from youtube_dlc/extractor/tunepk.pyrename to yt_dlp/extractor/tunepk.pydiff --git a/youtube_dlc/extractor/turbo.py b/yt_dlp/extractor/turbo.pysimilarity index 100%rename from youtube_dlc/extractor/turbo.pyrename to yt_dlp/extractor/turbo.pydiff --git a/youtube_dlc/extractor/turner.py b/yt_dlp/extractor/turner.pysimilarity index 100%rename from youtube_dlc/extractor/turner.pyrename to yt_dlp/extractor/turner.pydiff --git a/youtube_dlc/extractor/tv2.py b/yt_dlp/extractor/tv2.pysimilarity index 100%rename from youtube_dlc/extractor/tv2.pyrename to yt_dlp/extractor/tv2.pydiff --git a/youtube_dlc/extractor/tv2dk.py b/yt_dlp/extractor/tv2dk.pysimilarity index 100%rename from youtube_dlc/extractor/tv2dk.pyrename to yt_dlp/extractor/tv2dk.pydiff --git a/youtube_dlc/extractor/tv2hu.py b/yt_dlp/extractor/tv2hu.pysimilarity index 100%rename from youtube_dlc/extractor/tv2hu.pyrename to yt_dlp/extractor/tv2hu.pydiff --git a/youtube_dlc/extractor/tv4.py b/yt_dlp/extractor/tv4.pysimilarity index 100%rename from youtube_dlc/extractor/tv4.pyrename to yt_dlp/extractor/tv4.pydiff --git a/youtube_dlc/extractor/tv5mondeplus.py b/yt_dlp/extractor/tv5mondeplus.pysimilarity index 100%rename from youtube_dlc/extractor/tv5mondeplus.pyrename to yt_dlp/extractor/tv5mondeplus.pydiff --git a/youtube_dlc/extractor/tv5unis.py b/yt_dlp/extractor/tv5unis.pysimilarity index 100%rename from youtube_dlc/extractor/tv5unis.pyrename to yt_dlp/extractor/tv5unis.pydiff --git a/youtube_dlc/extractor/tva.py b/yt_dlp/extractor/tva.pysimilarity index 100%rename from youtube_dlc/extractor/tva.pyrename to yt_dlp/extractor/tva.pydiff --git a/youtube_dlc/extractor/tvanouvelles.py b/yt_dlp/extractor/tvanouvelles.pysimilarity index 100%rename from youtube_dlc/extractor/tvanouvelles.pyrename to yt_dlp/extractor/tvanouvelles.pydiff --git a/youtube_dlc/extractor/tvc.py b/yt_dlp/extractor/tvc.pysimilarity index 100%rename from youtube_dlc/extractor/tvc.pyrename to yt_dlp/extractor/tvc.pydiff --git a/youtube_dlc/extractor/tver.py b/yt_dlp/extractor/tver.pysimilarity index 100%rename from youtube_dlc/extractor/tver.pyrename to yt_dlp/extractor/tver.pydiff --git a/youtube_dlc/extractor/tvigle.py b/yt_dlp/extractor/tvigle.pysimilarity index 100%rename from youtube_dlc/extractor/tvigle.pyrename to yt_dlp/extractor/tvigle.pydiff --git a/youtube_dlc/extractor/tvland.py b/yt_dlp/extractor/tvland.pysimilarity index 100%rename from youtube_dlc/extractor/tvland.pyrename to yt_dlp/extractor/tvland.pydiff --git a/youtube_dlc/extractor/tvn24.py b/yt_dlp/extractor/tvn24.pysimilarity index 100%rename from youtube_dlc/extractor/tvn24.pyrename to yt_dlp/extractor/tvn24.pydiff --git a/youtube_dlc/extractor/tvnet.py b/yt_dlp/extractor/tvnet.pysimilarity index 100%rename from youtube_dlc/extractor/tvnet.pyrename to yt_dlp/extractor/tvnet.pydiff --git a/youtube_dlc/extractor/tvnoe.py b/yt_dlp/extractor/tvnoe.pysimilarity index 100%rename from youtube_dlc/extractor/tvnoe.pyrename to yt_dlp/extractor/tvnoe.pydiff --git a/youtube_dlc/extractor/tvnow.py b/yt_dlp/extractor/tvnow.pysimilarity index 100%rename from youtube_dlc/extractor/tvnow.pyrename to yt_dlp/extractor/tvnow.pydiff --git a/youtube_dlc/extractor/tvp.py b/yt_dlp/extractor/tvp.pysimilarity index 100%rename from youtube_dlc/extractor/tvp.pyrename to yt_dlp/extractor/tvp.pydiff --git a/youtube_dlc/extractor/tvplay.py b/yt_dlp/extractor/tvplay.pysimilarity index 100%rename from youtube_dlc/extractor/tvplay.pyrename to yt_dlp/extractor/tvplay.pydiff --git a/youtube_dlc/extractor/tvplayer.py b/yt_dlp/extractor/tvplayer.pysimilarity index 100%rename from youtube_dlc/extractor/tvplayer.pyrename to yt_dlp/extractor/tvplayer.pydiff --git a/youtube_dlc/extractor/tweakers.py b/yt_dlp/extractor/tweakers.pysimilarity index 100%rename from youtube_dlc/extractor/tweakers.pyrename to yt_dlp/extractor/tweakers.pydiff --git a/youtube_dlc/extractor/twentyfourvideo.py b/yt_dlp/extractor/twentyfourvideo.pysimilarity index 100%rename from youtube_dlc/extractor/twentyfourvideo.pyrename to yt_dlp/extractor/twentyfourvideo.pydiff --git a/youtube_dlc/extractor/twentymin.py b/yt_dlp/extractor/twentymin.pysimilarity index 100%rename from youtube_dlc/extractor/twentymin.pyrename to yt_dlp/extractor/twentymin.pydiff --git a/youtube_dlc/extractor/twentythreevideo.py b/yt_dlp/extractor/twentythreevideo.pysimilarity index 100%rename from youtube_dlc/extractor/twentythreevideo.pyrename to yt_dlp/extractor/twentythreevideo.pydiff --git a/youtube_dlc/extractor/twitcasting.py b/yt_dlp/extractor/twitcasting.pysimilarity index 100%rename from youtube_dlc/extractor/twitcasting.pyrename to yt_dlp/extractor/twitcasting.pydiff --git a/youtube_dlc/extractor/twitch.py b/yt_dlp/extractor/twitch.pysimilarity index 100%rename from youtube_dlc/extractor/twitch.pyrename to yt_dlp/extractor/twitch.pydiff --git a/youtube_dlc/extractor/twitter.py b/yt_dlp/extractor/twitter.pysimilarity index 100%rename from youtube_dlc/extractor/twitter.pyrename to yt_dlp/extractor/twitter.pydiff --git a/youtube_dlc/extractor/udemy.py b/yt_dlp/extractor/udemy.pysimilarity index 99%rename from youtube_dlc/extractor/udemy.pyrename to yt_dlp/extractor/udemy.pyindex 5b81aa365c..25b28e98ee 100644--- a/youtube_dlc/extractor/udemy.py+++ b/yt_dlp/extractor/udemy.py@@ -143,7 +143,7 @@ class UdemyIE(InfoExtractor):raise ExtractorError('Udemy asks you to solve a CAPTCHA. Login with browser, ''solve CAPTCHA, then export cookies and pass cookie file to '- 'youtube-dlc with --cookies.', expected=True)+ 'yt-dlp with --cookies.', expected=True)return retdef _download_json(self, url_or_request, *args, **kwargs):diff --git a/youtube_dlc/extractor/udn.py b/yt_dlp/extractor/udn.pysimilarity index 100%rename from youtube_dlc/extractor/udn.pyrename to yt_dlp/extractor/udn.pydiff --git a/youtube_dlc/extractor/ufctv.py b/yt_dlp/extractor/ufctv.pysimilarity index 100%rename from youtube_dlc/extractor/ufctv.pyrename to yt_dlp/extractor/ufctv.pydiff --git a/youtube_dlc/extractor/uktvplay.py b/yt_dlp/extractor/uktvplay.pysimilarity index 100%rename from youtube_dlc/extractor/uktvplay.pyrename to yt_dlp/extractor/uktvplay.pydiff --git a/youtube_dlc/extractor/umg.py b/yt_dlp/extractor/umg.pysimilarity index 100%rename from youtube_dlc/extractor/umg.pyrename to yt_dlp/extractor/umg.pydiff --git a/youtube_dlc/extractor/unistra.py b/yt_dlp/extractor/unistra.pysimilarity index 100%rename from youtube_dlc/extractor/unistra.pyrename to yt_dlp/extractor/unistra.pydiff --git a/youtube_dlc/extractor/unity.py b/yt_dlp/extractor/unity.pysimilarity index 100%rename from youtube_dlc/extractor/unity.pyrename to yt_dlp/extractor/unity.pydiff --git a/youtube_dlc/extractor/uol.py b/yt_dlp/extractor/uol.pysimilarity index 100%rename from youtube_dlc/extractor/uol.pyrename to yt_dlp/extractor/uol.pydiff --git a/youtube_dlc/extractor/uplynk.py b/yt_dlp/extractor/uplynk.pysimilarity index 100%rename from youtube_dlc/extractor/uplynk.pyrename to yt_dlp/extractor/uplynk.pydiff --git a/youtube_dlc/extractor/urort.py b/yt_dlp/extractor/urort.pysimilarity index 100%rename from youtube_dlc/extractor/urort.pyrename to yt_dlp/extractor/urort.pydiff --git a/youtube_dlc/extractor/urplay.py b/yt_dlp/extractor/urplay.pysimilarity index 100%rename from youtube_dlc/extractor/urplay.pyrename to yt_dlp/extractor/urplay.pydiff --git a/youtube_dlc/extractor/usanetwork.py b/yt_dlp/extractor/usanetwork.pysimilarity index 100%rename from youtube_dlc/extractor/usanetwork.pyrename to yt_dlp/extractor/usanetwork.pydiff --git a/youtube_dlc/extractor/usatoday.py b/yt_dlp/extractor/usatoday.pysimilarity index 100%rename from youtube_dlc/extractor/usatoday.pyrename to yt_dlp/extractor/usatoday.pydiff --git a/youtube_dlc/extractor/ustream.py b/yt_dlp/extractor/ustream.pysimilarity index 100%rename from youtube_dlc/extractor/ustream.pyrename to yt_dlp/extractor/ustream.pydiff --git a/youtube_dlc/extractor/ustudio.py b/yt_dlp/extractor/ustudio.pysimilarity index 100%rename from youtube_dlc/extractor/ustudio.pyrename to yt_dlp/extractor/ustudio.pydiff --git a/youtube_dlc/extractor/varzesh3.py b/yt_dlp/extractor/varzesh3.pysimilarity index 100%rename from youtube_dlc/extractor/varzesh3.pyrename to yt_dlp/extractor/varzesh3.pydiff --git a/youtube_dlc/extractor/vbox7.py b/yt_dlp/extractor/vbox7.pysimilarity index 100%rename from youtube_dlc/extractor/vbox7.pyrename to yt_dlp/extractor/vbox7.pydiff --git a/youtube_dlc/extractor/veehd.py b/yt_dlp/extractor/veehd.pysimilarity index 100%rename from youtube_dlc/extractor/veehd.pyrename to yt_dlp/extractor/veehd.pydiff --git a/youtube_dlc/extractor/veoh.py b/yt_dlp/extractor/veoh.pysimilarity index 100%rename from youtube_dlc/extractor/veoh.pyrename to yt_dlp/extractor/veoh.pydiff --git a/youtube_dlc/extractor/vesti.py b/yt_dlp/extractor/vesti.pysimilarity index 100%rename from youtube_dlc/extractor/vesti.pyrename to yt_dlp/extractor/vesti.pydiff --git a/youtube_dlc/extractor/vevo.py b/yt_dlp/extractor/vevo.pysimilarity index 100%rename from youtube_dlc/extractor/vevo.pyrename to yt_dlp/extractor/vevo.pydiff --git a/youtube_dlc/extractor/vgtv.py b/yt_dlp/extractor/vgtv.pysimilarity index 100%rename from youtube_dlc/extractor/vgtv.pyrename to yt_dlp/extractor/vgtv.pydiff --git a/youtube_dlc/extractor/vh1.py b/yt_dlp/extractor/vh1.pysimilarity index 100%rename from youtube_dlc/extractor/vh1.pyrename to yt_dlp/extractor/vh1.pydiff --git a/youtube_dlc/extractor/vice.py b/yt_dlp/extractor/vice.pysimilarity index 100%rename from youtube_dlc/extractor/vice.pyrename to yt_dlp/extractor/vice.pydiff --git a/youtube_dlc/extractor/vidbit.py b/yt_dlp/extractor/vidbit.pysimilarity index 100%rename from youtube_dlc/extractor/vidbit.pyrename to yt_dlp/extractor/vidbit.pydiff --git a/youtube_dlc/extractor/viddler.py b/yt_dlp/extractor/viddler.pysimilarity index 100%rename from youtube_dlc/extractor/viddler.pyrename to yt_dlp/extractor/viddler.pydiff --git a/youtube_dlc/extractor/videa.py b/yt_dlp/extractor/videa.pysimilarity index 100%rename from youtube_dlc/extractor/videa.pyrename to yt_dlp/extractor/videa.pydiff --git a/youtube_dlc/extractor/videodetective.py b/yt_dlp/extractor/videodetective.pysimilarity index 100%rename from youtube_dlc/extractor/videodetective.pyrename to yt_dlp/extractor/videodetective.pydiff --git a/youtube_dlc/extractor/videofyme.py b/yt_dlp/extractor/videofyme.pysimilarity index 100%rename from youtube_dlc/extractor/videofyme.pyrename to yt_dlp/extractor/videofyme.pydiff --git a/youtube_dlc/extractor/videomore.py b/yt_dlp/extractor/videomore.pysimilarity index 100%rename from youtube_dlc/extractor/videomore.pyrename to yt_dlp/extractor/videomore.pydiff --git a/youtube_dlc/extractor/videopress.py b/yt_dlp/extractor/videopress.pysimilarity index 100%rename from youtube_dlc/extractor/videopress.pyrename to yt_dlp/extractor/videopress.pydiff --git a/youtube_dlc/extractor/vidio.py b/yt_dlp/extractor/vidio.pysimilarity index 100%rename from youtube_dlc/extractor/vidio.pyrename to yt_dlp/extractor/vidio.pydiff --git a/youtube_dlc/extractor/vidlii.py b/yt_dlp/extractor/vidlii.pysimilarity index 100%rename from youtube_dlc/extractor/vidlii.pyrename to yt_dlp/extractor/vidlii.pydiff --git a/youtube_dlc/extractor/vidme.py b/yt_dlp/extractor/vidme.pysimilarity index 100%rename from youtube_dlc/extractor/vidme.pyrename to yt_dlp/extractor/vidme.pydiff --git a/youtube_dlc/extractor/vidzi.py b/yt_dlp/extractor/vidzi.pysimilarity index 96%rename from youtube_dlc/extractor/vidzi.pyrename to yt_dlp/extractor/vidzi.pyindex 4e79a0b84b..42ea4952c3 100644--- a/youtube_dlc/extractor/vidzi.py+++ b/yt_dlp/extractor/vidzi.py@@ -20,7 +20,7 @@ class VidziIE(InfoExtractor):'info_dict': {'id': 'cghql9yq6emu','ext': 'mp4',- 'title': 'youtube-dlc test video 1\\\\2\'3/4<5\\\\6ä7↭',+ 'title': 'youtube-dl test video 1\\\\2\'3/4<5\\\\6ä7↭',},'params': {# m3u8 downloaddiff --git a/youtube_dlc/extractor/vier.py b/yt_dlp/extractor/vier.pysimilarity index 100%rename from youtube_dlc/extractor/vier.pyrename to yt_dlp/extractor/vier.pydiff --git a/youtube_dlc/extractor/viewlift.py b/yt_dlp/extractor/viewlift.pysimilarity index 100%rename from youtube_dlc/extractor/viewlift.pyrename to yt_dlp/extractor/viewlift.pydiff --git a/youtube_dlc/extractor/viidea.py b/yt_dlp/extractor/viidea.pysimilarity index 100%rename from youtube_dlc/extractor/viidea.pyrename to yt_dlp/extractor/viidea.pydiff --git a/youtube_dlc/extractor/viki.py b/yt_dlp/extractor/viki.pysimilarity index 100%rename from youtube_dlc/extractor/viki.pyrename to yt_dlp/extractor/viki.pydiff --git a/youtube_dlc/extractor/vimeo.py b/yt_dlp/extractor/vimeo.pysimilarity index 99%rename from youtube_dlc/extractor/vimeo.pyrename to yt_dlp/extractor/vimeo.pyindex ecfb5f0c5f..d64b6c3005 100644--- a/youtube_dlc/extractor/vimeo.py+++ b/yt_dlp/extractor/vimeo.py@@ -602,7 +602,7 @@ class VimeoIE(VimeoBaseInfoExtractor):if b'Because of its privacy settings, this video cannot be played here' in errmsg:raise ExtractorError('Cannot download embed-only video without embedding '- 'URL. Please call youtube-dlc with the URL of the page '+ 'URL. Please call yt-dlp with the URL of the page ''that embeds this video.',expected=True)raisediff --git a/youtube_dlc/extractor/vimple.py b/yt_dlp/extractor/vimple.pysimilarity index 100%rename from youtube_dlc/extractor/vimple.pyrename to yt_dlp/extractor/vimple.pydiff --git a/youtube_dlc/extractor/vine.py b/yt_dlp/extractor/vine.pysimilarity index 100%rename from youtube_dlc/extractor/vine.pyrename to yt_dlp/extractor/vine.pydiff --git a/youtube_dlc/extractor/viqeo.py b/yt_dlp/extractor/viqeo.pysimilarity index 100%rename from youtube_dlc/extractor/viqeo.pyrename to yt_dlp/extractor/viqeo.pydiff --git a/youtube_dlc/extractor/viu.py b/yt_dlp/extractor/viu.pysimilarity index 100%rename from youtube_dlc/extractor/viu.pyrename to yt_dlp/extractor/viu.pydiff --git a/youtube_dlc/extractor/vk.py b/yt_dlp/extractor/vk.pysimilarity index 100%rename from youtube_dlc/extractor/vk.pyrename to yt_dlp/extractor/vk.pydiff --git a/youtube_dlc/extractor/vlive.py b/yt_dlp/extractor/vlive.pysimilarity index 100%rename from youtube_dlc/extractor/vlive.pyrename to yt_dlp/extractor/vlive.pydiff --git a/youtube_dlc/extractor/vodlocker.py b/yt_dlp/extractor/vodlocker.pysimilarity index 100%rename from youtube_dlc/extractor/vodlocker.pyrename to yt_dlp/extractor/vodlocker.pydiff --git a/youtube_dlc/extractor/vodpl.py b/yt_dlp/extractor/vodpl.pysimilarity index 100%rename from youtube_dlc/extractor/vodpl.pyrename to yt_dlp/extractor/vodpl.pydiff --git a/youtube_dlc/extractor/vodplatform.py b/yt_dlp/extractor/vodplatform.pysimilarity index 100%rename from youtube_dlc/extractor/vodplatform.pyrename to yt_dlp/extractor/vodplatform.pydiff --git a/youtube_dlc/extractor/voicerepublic.py b/yt_dlp/extractor/voicerepublic.pysimilarity index 100%rename from youtube_dlc/extractor/voicerepublic.pyrename to yt_dlp/extractor/voicerepublic.pydiff --git a/youtube_dlc/extractor/voot.py b/yt_dlp/extractor/voot.pysimilarity index 100%rename from youtube_dlc/extractor/voot.pyrename to yt_dlp/extractor/voot.pydiff --git a/youtube_dlc/extractor/voxmedia.py b/yt_dlp/extractor/voxmedia.pysimilarity index 100%rename from youtube_dlc/extractor/voxmedia.pyrename to yt_dlp/extractor/voxmedia.pydiff --git a/youtube_dlc/extractor/vrak.py b/yt_dlp/extractor/vrak.pysimilarity index 100%rename from youtube_dlc/extractor/vrak.pyrename to yt_dlp/extractor/vrak.pydiff --git a/youtube_dlc/extractor/vrt.py b/yt_dlp/extractor/vrt.pysimilarity index 100%rename from youtube_dlc/extractor/vrt.pyrename to yt_dlp/extractor/vrt.pydiff --git a/youtube_dlc/extractor/vrv.py b/yt_dlp/extractor/vrv.pysimilarity index 100%rename from youtube_dlc/extractor/vrv.pyrename to yt_dlp/extractor/vrv.pydiff --git a/youtube_dlc/extractor/vshare.py b/yt_dlp/extractor/vshare.pysimilarity index 100%rename from youtube_dlc/extractor/vshare.pyrename to yt_dlp/extractor/vshare.pydiff --git a/youtube_dlc/extractor/vtm.py b/yt_dlp/extractor/vtm.pysimilarity index 100%rename from youtube_dlc/extractor/vtm.pyrename to yt_dlp/extractor/vtm.pydiff --git a/youtube_dlc/extractor/vube.py b/yt_dlp/extractor/vube.pysimilarity index 100%rename from youtube_dlc/extractor/vube.pyrename to yt_dlp/extractor/vube.pydiff --git a/youtube_dlc/extractor/vuclip.py b/yt_dlp/extractor/vuclip.pysimilarity index 100%rename from youtube_dlc/extractor/vuclip.pyrename to yt_dlp/extractor/vuclip.pydiff --git a/youtube_dlc/extractor/vvvvid.py b/yt_dlp/extractor/vvvvid.pysimilarity index 100%rename from youtube_dlc/extractor/vvvvid.pyrename to yt_dlp/extractor/vvvvid.pydiff --git a/youtube_dlc/extractor/vyborymos.py b/yt_dlp/extractor/vyborymos.pysimilarity index 100%rename from youtube_dlc/extractor/vyborymos.pyrename to yt_dlp/extractor/vyborymos.pydiff --git a/youtube_dlc/extractor/vzaar.py b/yt_dlp/extractor/vzaar.pysimilarity index 100%rename from youtube_dlc/extractor/vzaar.pyrename to yt_dlp/extractor/vzaar.pydiff --git a/youtube_dlc/extractor/wakanim.py b/yt_dlp/extractor/wakanim.pysimilarity index 100%rename from youtube_dlc/extractor/wakanim.pyrename to yt_dlp/extractor/wakanim.pydiff --git a/youtube_dlc/extractor/walla.py b/yt_dlp/extractor/walla.pysimilarity index 100%rename from youtube_dlc/extractor/walla.pyrename to yt_dlp/extractor/walla.pydiff --git a/youtube_dlc/extractor/washingtonpost.py b/yt_dlp/extractor/washingtonpost.pysimilarity index 100%rename from youtube_dlc/extractor/washingtonpost.pyrename to yt_dlp/extractor/washingtonpost.pydiff --git a/youtube_dlc/extractor/wat.py b/yt_dlp/extractor/wat.pysimilarity index 100%rename from youtube_dlc/extractor/wat.pyrename to yt_dlp/extractor/wat.pydiff --git a/youtube_dlc/extractor/watchbox.py b/yt_dlp/extractor/watchbox.pysimilarity index 100%rename from youtube_dlc/extractor/watchbox.pyrename to yt_dlp/extractor/watchbox.pydiff --git a/youtube_dlc/extractor/watchindianporn.py b/yt_dlp/extractor/watchindianporn.pysimilarity index 100%rename from youtube_dlc/extractor/watchindianporn.pyrename to yt_dlp/extractor/watchindianporn.pydiff --git a/youtube_dlc/extractor/wdr.py b/yt_dlp/extractor/wdr.pysimilarity index 100%rename from youtube_dlc/extractor/wdr.pyrename to yt_dlp/extractor/wdr.pydiff --git a/youtube_dlc/extractor/webcaster.py b/yt_dlp/extractor/webcaster.pysimilarity index 100%rename from youtube_dlc/extractor/webcaster.pyrename to yt_dlp/extractor/webcaster.pydiff --git a/youtube_dlc/extractor/webofstories.py b/yt_dlp/extractor/webofstories.pysimilarity index 100%rename from youtube_dlc/extractor/webofstories.pyrename to yt_dlp/extractor/webofstories.pydiff --git a/youtube_dlc/extractor/weibo.py b/yt_dlp/extractor/weibo.pysimilarity index 100%rename from youtube_dlc/extractor/weibo.pyrename to yt_dlp/extractor/weibo.pydiff --git a/youtube_dlc/extractor/weiqitv.py b/yt_dlp/extractor/weiqitv.pysimilarity index 100%rename from youtube_dlc/extractor/weiqitv.pyrename to yt_dlp/extractor/weiqitv.pydiff --git a/youtube_dlc/extractor/wistia.py b/yt_dlp/extractor/wistia.pysimilarity index 100%rename from youtube_dlc/extractor/wistia.pyrename to yt_dlp/extractor/wistia.pydiff --git a/youtube_dlc/extractor/worldstarhiphop.py b/yt_dlp/extractor/worldstarhiphop.pysimilarity index 100%rename from youtube_dlc/extractor/worldstarhiphop.pyrename to yt_dlp/extractor/worldstarhiphop.pydiff --git a/youtube_dlc/extractor/wsj.py b/yt_dlp/extractor/wsj.pysimilarity index 100%rename from youtube_dlc/extractor/wsj.pyrename to yt_dlp/extractor/wsj.pydiff --git a/youtube_dlc/extractor/wwe.py b/yt_dlp/extractor/wwe.pysimilarity index 100%rename from youtube_dlc/extractor/wwe.pyrename to yt_dlp/extractor/wwe.pydiff --git a/youtube_dlc/extractor/xbef.py b/yt_dlp/extractor/xbef.pysimilarity index 100%rename from youtube_dlc/extractor/xbef.pyrename to yt_dlp/extractor/xbef.pydiff --git a/youtube_dlc/extractor/xboxclips.py b/yt_dlp/extractor/xboxclips.pysimilarity index 100%rename from youtube_dlc/extractor/xboxclips.pyrename to yt_dlp/extractor/xboxclips.pydiff --git a/youtube_dlc/extractor/xfileshare.py b/yt_dlp/extractor/xfileshare.pysimilarity index 100%rename from youtube_dlc/extractor/xfileshare.pyrename to yt_dlp/extractor/xfileshare.pydiff --git a/youtube_dlc/extractor/xhamster.py b/yt_dlp/extractor/xhamster.pysimilarity index 100%rename from youtube_dlc/extractor/xhamster.pyrename to yt_dlp/extractor/xhamster.pydiff --git a/youtube_dlc/extractor/xiami.py b/yt_dlp/extractor/xiami.pysimilarity index 100%rename from youtube_dlc/extractor/xiami.pyrename to yt_dlp/extractor/xiami.pydiff --git a/youtube_dlc/extractor/ximalaya.py b/yt_dlp/extractor/ximalaya.pysimilarity index 100%rename from youtube_dlc/extractor/ximalaya.pyrename to yt_dlp/extractor/ximalaya.pydiff --git a/youtube_dlc/extractor/xminus.py b/yt_dlp/extractor/xminus.pysimilarity index 100%rename from youtube_dlc/extractor/xminus.pyrename to yt_dlp/extractor/xminus.pydiff --git a/youtube_dlc/extractor/xnxx.py b/yt_dlp/extractor/xnxx.pysimilarity index 100%rename from youtube_dlc/extractor/xnxx.pyrename to yt_dlp/extractor/xnxx.pydiff --git a/youtube_dlc/extractor/xstream.py b/yt_dlp/extractor/xstream.pysimilarity index 100%rename from youtube_dlc/extractor/xstream.pyrename to yt_dlp/extractor/xstream.pydiff --git a/youtube_dlc/extractor/xtube.py b/yt_dlp/extractor/xtube.pysimilarity index 100%rename from youtube_dlc/extractor/xtube.pyrename to yt_dlp/extractor/xtube.pydiff --git a/youtube_dlc/extractor/xuite.py b/yt_dlp/extractor/xuite.pysimilarity index 100%rename from youtube_dlc/extractor/xuite.pyrename to yt_dlp/extractor/xuite.pydiff --git a/youtube_dlc/extractor/xvideos.py b/yt_dlp/extractor/xvideos.pysimilarity index 100%rename from youtube_dlc/extractor/xvideos.pyrename to yt_dlp/extractor/xvideos.pydiff --git a/youtube_dlc/extractor/xxxymovies.py b/yt_dlp/extractor/xxxymovies.pysimilarity index 100%rename from youtube_dlc/extractor/xxxymovies.pyrename to yt_dlp/extractor/xxxymovies.pydiff --git a/youtube_dlc/extractor/yahoo.py b/yt_dlp/extractor/yahoo.pysimilarity index 100%rename from youtube_dlc/extractor/yahoo.pyrename to yt_dlp/extractor/yahoo.pydiff --git a/youtube_dlc/extractor/yandexdisk.py b/yt_dlp/extractor/yandexdisk.pysimilarity index 100%rename from youtube_dlc/extractor/yandexdisk.pyrename to yt_dlp/extractor/yandexdisk.pydiff --git a/youtube_dlc/extractor/yandexmusic.py b/yt_dlp/extractor/yandexmusic.pysimilarity index 99%rename from youtube_dlc/extractor/yandexmusic.pyrename to yt_dlp/extractor/yandexmusic.pyindex 4bcbaa4dbb..c30c438f8b 100644--- a/youtube_dlc/extractor/yandexmusic.py+++ b/yt_dlp/extractor/yandexmusic.py@@ -30,12 +30,12 @@ class YandexMusicBaseIE(InfoExtractor):@staticmethoddef _raise_captcha():raise ExtractorError(- 'YandexMusic has considered youtube-dlc requests automated and '+ 'YandexMusic has considered yt-dlp requests automated and ''asks you to solve a CAPTCHA. You can either wait for some ''time until unblocked and optionally use --sleep-interval ''in future or alternatively you can go to https://music.yandex.ru/ ''solve CAPTCHA, then export cookies and pass cookie file to '- 'youtube-dlc with --cookies',+ 'yt-dlp with --cookies',expected=True)def _download_webpage_handle(self, *args, **kwargs):diff --git a/youtube_dlc/extractor/yandexvideo.py b/yt_dlp/extractor/yandexvideo.pysimilarity index 100%rename from youtube_dlc/extractor/yandexvideo.pyrename to yt_dlp/extractor/yandexvideo.pydiff --git a/youtube_dlc/extractor/yapfiles.py b/yt_dlp/extractor/yapfiles.pysimilarity index 100%rename from youtube_dlc/extractor/yapfiles.pyrename to yt_dlp/extractor/yapfiles.pydiff --git a/youtube_dlc/extractor/yesjapan.py b/yt_dlp/extractor/yesjapan.pysimilarity index 100%rename from youtube_dlc/extractor/yesjapan.pyrename to yt_dlp/extractor/yesjapan.pydiff --git a/youtube_dlc/extractor/yinyuetai.py b/yt_dlp/extractor/yinyuetai.pysimilarity index 100%rename from youtube_dlc/extractor/yinyuetai.pyrename to yt_dlp/extractor/yinyuetai.pydiff --git a/youtube_dlc/extractor/ynet.py b/yt_dlp/extractor/ynet.pysimilarity index 100%rename from youtube_dlc/extractor/ynet.pyrename to yt_dlp/extractor/ynet.pydiff --git a/youtube_dlc/extractor/youjizz.py b/yt_dlp/extractor/youjizz.pysimilarity index 100%rename from youtube_dlc/extractor/youjizz.pyrename to yt_dlp/extractor/youjizz.pydiff --git a/youtube_dlc/extractor/youku.py b/yt_dlp/extractor/youku.pysimilarity index 100%rename from youtube_dlc/extractor/youku.pyrename to yt_dlp/extractor/youku.pydiff --git a/youtube_dlc/extractor/younow.py b/yt_dlp/extractor/younow.pysimilarity index 100%rename from youtube_dlc/extractor/younow.pyrename to yt_dlp/extractor/younow.pydiff --git a/youtube_dlc/extractor/youporn.py b/yt_dlp/extractor/youporn.pysimilarity index 100%rename from youtube_dlc/extractor/youporn.pyrename to yt_dlp/extractor/youporn.pydiff --git a/youtube_dlc/extractor/yourporn.py b/yt_dlp/extractor/yourporn.pysimilarity index 100%rename from youtube_dlc/extractor/yourporn.pyrename to yt_dlp/extractor/yourporn.pydiff --git a/youtube_dlc/extractor/yourupload.py b/yt_dlp/extractor/yourupload.pysimilarity index 100%rename from youtube_dlc/extractor/yourupload.pyrename to yt_dlp/extractor/yourupload.pydiff --git a/youtube_dlc/extractor/youtube.py b/yt_dlp/extractor/youtube.pysimilarity index 100%rename from youtube_dlc/extractor/youtube.pyrename to yt_dlp/extractor/youtube.pydiff --git a/youtube_dlc/extractor/zapiks.py b/yt_dlp/extractor/zapiks.pysimilarity index 100%rename from youtube_dlc/extractor/zapiks.pyrename to yt_dlp/extractor/zapiks.pydiff --git a/youtube_dlc/extractor/zaq1.py b/yt_dlp/extractor/zaq1.pysimilarity index 100%rename from youtube_dlc/extractor/zaq1.pyrename to yt_dlp/extractor/zaq1.pydiff --git a/youtube_dlc/extractor/zattoo.py b/yt_dlp/extractor/zattoo.pysimilarity index 100%rename from youtube_dlc/extractor/zattoo.pyrename to yt_dlp/extractor/zattoo.pydiff --git a/youtube_dlc/extractor/zdf.py b/yt_dlp/extractor/zdf.pysimilarity index 100%rename from youtube_dlc/extractor/zdf.pyrename to yt_dlp/extractor/zdf.pydiff --git a/youtube_dlc/extractor/zee5.py b/yt_dlp/extractor/zee5.pysimilarity index 100%rename from youtube_dlc/extractor/zee5.pyrename to yt_dlp/extractor/zee5.pydiff --git a/youtube_dlc/extractor/zhihu.py b/yt_dlp/extractor/zhihu.pysimilarity index 100%rename from youtube_dlc/extractor/zhihu.pyrename to yt_dlp/extractor/zhihu.pydiff --git a/youtube_dlc/extractor/zingmp3.py b/yt_dlp/extractor/zingmp3.pysimilarity index 100%rename from youtube_dlc/extractor/zingmp3.pyrename to yt_dlp/extractor/zingmp3.pydiff --git a/youtube_dlc/extractor/zoom.py b/yt_dlp/extractor/zoom.pysimilarity index 100%rename from youtube_dlc/extractor/zoom.pyrename to yt_dlp/extractor/zoom.pydiff --git a/youtube_dlc/extractor/zype.py b/yt_dlp/extractor/zype.pysimilarity index 100%rename from youtube_dlc/extractor/zype.pyrename to yt_dlp/extractor/zype.pydiff --git a/youtube_dlc/jsinterp.py b/yt_dlp/jsinterp.pysimilarity index 100%rename from youtube_dlc/jsinterp.pyrename to yt_dlp/jsinterp.pydiff --git a/youtube_dlc/options.py b/yt_dlp/options.pysimilarity index 98%rename from youtube_dlc/options.pyrename to yt_dlp/options.pyindex 26df62ca50..00bc02c2d2 100644--- a/youtube_dlc/options.py+++ b/yt_dlp/options.py@@ -408,7 +408,7 @@ def parseOpts(overrideArguments=None):authentication.add_option('-p', '--password',dest='password', metavar='PASSWORD',- help='Account password. If this option is left out, youtube-dlc will ask interactively')+ help='Account password. If this option is left out, yt-dlp will ask interactively')authentication.add_option('-2', '--twofactor',dest='twofactor', metavar='TWOFACTOR',@@ -434,7 +434,7 @@ def parseOpts(overrideArguments=None):adobe_pass.add_option('--ap-password',dest='ap_password', metavar='PASSWORD',- help='Multiple-system operator account password. If this option is left out, youtube-dlc will ask interactively')+ help='Multiple-system operator account password. If this option is left out, yt-dlp will ask interactively')adobe_pass.add_option('--ap-list-mso',action='store_true', dest='ap_list_mso', default=False,@@ -812,12 +812,12 @@ def parseOpts(overrideArguments=None):verbosity.add_option('-C', '--call-home',dest='call_home', action='store_true', default=False,- # help='[Broken] Contact the youtube-dlc server for debugging')+ # help='[Broken] Contact the yt-dlp server for debugging')help=optparse.SUPPRESS_HELP)verbosity.add_option('--no-call-home',dest='call_home', action='store_false',- # help='Do not contact the youtube-dlc server for debugging (default)')+ # help='Do not contact the yt-dlp server for debugging (default)')help=optparse.SUPPRESS_HELP)filesystem = optparse.OptionGroup(parser, 'Filesystem Options')@@ -1167,7 +1167,7 @@ def parseOpts(overrideArguments=None):help='Convert the subtitles to other format (currently supported: srt|ass|vtt|lrc)')sponskrub = optparse.OptionGroup(parser, 'SponSkrub (SponsorBlock) Options', description=(- 'SponSkrub (https://github.com/pukkandan/SponSkrub) is a utility to mark/remove sponsor segments '+ 'SponSkrub (https://github.com/yt-dlp/SponSkrub) is a utility to mark/remove sponsor segments ''from downloaded YouTube videos using SponsorBlock API (https://sponsor.ajay.app)'))sponskrub.add_option('--sponskrub',@@ -1276,7 +1276,7 @@ def parseOpts(overrideArguments=None):if '--config-location' in configs['command-line']:location = compat_expanduser(opts.config_location)if os.path.isdir(location):- location = os.path.join(location, 'youtube-dlc.conf')+ location = os.path.join(location, 'yt-dlp.conf')if not os.path.exists(location):parser.error('config-location %s does not exist.' % location)configs['custom'] = _readOptions(location, default=None)@@ -1290,7 +1290,10 @@ def parseOpts(overrideArguments=None):returndef read_options(path, user=False):- for package in ('yt-dlp', 'youtube-dlc'):+ # Multiple package names can be given here+ # Eg: ('yt-dlp', 'youtube-dlc', 'youtube-dl') will look for+ # the configuration file of any of these three packages+ for package in ('yt-dlp',):if user:config, current_path = _readUserConf(package, default=None)else:diff --git a/youtube_dlc/postprocessor/__init__.py b/yt_dlp/postprocessor/__init__.pysimilarity index 100%rename from youtube_dlc/postprocessor/__init__.pyrename to yt_dlp/postprocessor/__init__.pydiff --git a/youtube_dlc/postprocessor/common.py b/yt_dlp/postprocessor/common.pysimilarity index 100%rename from youtube_dlc/postprocessor/common.pyrename to yt_dlp/postprocessor/common.pydiff --git a/youtube_dlc/postprocessor/embedthumbnail.py b/yt_dlp/postprocessor/embedthumbnail.pysimilarity index 100%rename from youtube_dlc/postprocessor/embedthumbnail.pyrename to yt_dlp/postprocessor/embedthumbnail.pydiff --git a/youtube_dlc/postprocessor/execafterdownload.py b/yt_dlp/postprocessor/execafterdownload.pysimilarity index 100%rename from youtube_dlc/postprocessor/execafterdownload.pyrename to yt_dlp/postprocessor/execafterdownload.pydiff --git a/youtube_dlc/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.pysimilarity index 99%rename from youtube_dlc/postprocessor/ffmpeg.pyrename to yt_dlp/postprocessor/ffmpeg.pyindex b0615ddb28..944a4bc177 100644--- a/youtube_dlc/postprocessor/ffmpeg.py+++ b/yt_dlp/postprocessor/ffmpeg.py@@ -251,7 +251,7 @@ class FFmpegPostProcessor(PostProcessor):+ [encodeFilename(self._ffmpeg_filename_argument(file), True)])for i, path in enumerate(input_paths):- cmd += make_args(path, post=['-i'], exe='%s_i%d' % (self.basename, i+1), use_default_arg=False)+ cmd += make_args(path, post=['-i'], exe='%s_i%d' % (self.basename, i + 1), use_default_arg=False)cmd += make_args(out_path, pre=opts, exe=self.basename)self.write_debug('ffmpeg command line: %s' % shell_quote(cmd))@@ -633,7 +633,7 @@ class FFmpegMergerPP(FFmpegPostProcessor):if is_outdated_version(self._versions[self.basename], required_version):warning = ('Your copy of %s is outdated and unable to properly mux separate video and audio files, '- 'youtube-dlc will download single file media. '+ 'yt-dlp will download single file media. ''Update %s to version %s or newer to fix this.') % (self.basename, self.basename, required_version)self.report_warning(warning)diff --git a/youtube_dlc/postprocessor/metadatafromfield.py b/yt_dlp/postprocessor/metadatafromfield.pysimilarity index 100%rename from youtube_dlc/postprocessor/metadatafromfield.pyrename to yt_dlp/postprocessor/metadatafromfield.pydiff --git a/youtube_dlc/postprocessor/movefilesafterdownload.py b/yt_dlp/postprocessor/movefilesafterdownload.pysimilarity index 100%rename from youtube_dlc/postprocessor/movefilesafterdownload.pyrename to yt_dlp/postprocessor/movefilesafterdownload.pydiff --git a/youtube_dlc/postprocessor/sponskrub.py b/yt_dlp/postprocessor/sponskrub.pysimilarity index 100%rename from youtube_dlc/postprocessor/sponskrub.pyrename to yt_dlp/postprocessor/sponskrub.pydiff --git a/youtube_dlc/postprocessor/xattrpp.py b/yt_dlp/postprocessor/xattrpp.pysimilarity index 100%rename from youtube_dlc/postprocessor/xattrpp.pyrename to yt_dlp/postprocessor/xattrpp.pydiff --git a/youtube_dlc/socks.py b/yt_dlp/socks.pysimilarity index 100%rename from youtube_dlc/socks.pyrename to yt_dlp/socks.pydiff --git a/youtube_dlc/swfinterp.py b/yt_dlp/swfinterp.pysimilarity index 100%rename from youtube_dlc/swfinterp.pyrename to yt_dlp/swfinterp.pydiff --git a/youtube_dlc/update.py b/yt_dlp/update.pysimilarity index 88%rename from youtube_dlc/update.pyrename to yt_dlp/update.pyindex 402fefb678..81c9013a19 100644--- a/youtube_dlc/update.py+++ b/yt_dlp/update.py@@ -38,7 +38,7 @@ def update_self(to_screen, verbose, opener):Returns whether the program should terminate"""- JSON_URL = 'https://api.github.com/repos/pukkandan/yt-dlp/releases/latest'+ JSON_URL = 'https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest'def calc_sha256sum(path):h = hashlib.sha256()@@ -63,7 +63,7 @@ def update_self(to_screen, verbose, opener):if verbose:to_screen(encode_compat_str(traceback.format_exc()))to_screen('ERROR: can\'t obtain versions info. Please try again later.')- to_screen('Visit https://github.com/pukkandan/yt-dlp/releases/latest')+ to_screen('Visit https://github.com/yt-dlp/yt-dlp/releases/latest')returndef version_tuple(version_str):@@ -87,8 +87,8 @@ def update_self(to_screen, verbose, opener):def get_bin_info(bin_or_exe, version):label = version_labels['%s_%s' % (bin_or_exe, version)]return next(- (i for i in version_info['assets']- if i['name'] in ('yt-dlp%s' % label, 'youtube-dlc%s' % label)), {})+ (i for i in version_info['assets'] if i['name'] == 'yt-dlp%s' % label),+ {})def get_sha256sum(bin_or_exe, version):label = version_labels['%s_%s' % (bin_or_exe, version)]@@ -100,8 +100,8 @@ def update_self(to_screen, verbose, opener):hash_data = opener.open(urlh).read().decode('utf-8')hashes = list(map(lambda x: x.split(':'), hash_data.splitlines()))return next(- (i[1] for i in hashes- if i[0] in ('yt-dlp%s' % label, 'youtube-dlc%s' % label)), None)+ (i[1] for i in hashes if i[0] == 'yt-dlp%s' % label),+ None)# sys.executable is set to the full pathname of the exe-file for py2exe# though symlinks are not followed so that we need to do this manually@@ -125,7 +125,7 @@ def update_self(to_screen, verbose, opener):url = get_bin_info('exe', arch).get('browser_download_url')if not url:to_screen('ERROR: unable to fetch updates')- to_screen('Visit https://github.com/pukkandan/yt-dlp/releases/latest')+ to_screen('Visit https://github.com/yt-dlp/yt-dlp/releases/latest')returnurlh = opener.open(url)newcontent = urlh.read()@@ -134,7 +134,7 @@ def update_self(to_screen, verbose, opener):if verbose:to_screen(encode_compat_str(traceback.format_exc()))to_screen('ERROR: unable to download latest version')- to_screen('Visit https://github.com/pukkandan/yt-dlp/releases/latest')+ to_screen('Visit https://github.com/yt-dlp/yt-dlp/releases/latest')returntry:@@ -151,7 +151,7 @@ def update_self(to_screen, verbose, opener):to_screen('WARNING: no hash information found for the release')elif calc_sha256sum(exe + '.new') != expected_sum:to_screen('ERROR: unable to verify the new executable')- to_screen('Visit https://github.com/pukkandan/yt-dlp/releases/latest')+ to_screen('Visit https://github.com/yt-dlp/yt-dlp/releases/latest')try:os.remove(exe + '.new')except OSError:@@ -186,7 +186,7 @@ def update_self(to_screen, verbose, opener):url = get_bin_info('zip', py_ver).get('browser_download_url')if not url:to_screen('ERROR: unable to fetch updates')- to_screen('Visit https://github.com/pukkandan/yt-dlp/releases/latest')+ to_screen('Visit https://github.com/yt-dlp/yt-dlp/releases/latest')returnurlh = opener.open(url)newcontent = urlh.read()@@ -195,7 +195,7 @@ def update_self(to_screen, verbose, opener):if verbose:to_screen(encode_compat_str(traceback.format_exc()))to_screen('ERROR: unable to download latest version')- to_screen('Visit https://github.com/pukkandan/yt-dlp/releases/latest')+ to_screen('Visit https://github.com/yt-dlp/yt-dlp/releases/latest')returntry:@@ -210,7 +210,7 @@ def update_self(to_screen, verbose, opener):expected_sum = get_sha256sum('zip', py_ver)if expected_sum and calc_sha256sum(filename + '.new') != expected_sum:to_screen('ERROR: unable to verify the new zip')- to_screen('Visit https://github.com/pukkandan/yt-dlp/releases/latest')+ to_screen('Visit https://github.com/yt-dlp/yt-dlp/releases/latest')try:os.remove(filename + '.new')except OSError:@@ -223,7 +223,7 @@ def update_self(to_screen, verbose, opener):to_screen('ERROR: unable to overwrite current version')return- to_screen('Updated yt-dlp. Restart youtube-dlc to use the new version.')+ to_screen('Updated yt-dlp. Restart yt-dlp to use the new version.')''' # UNUSEDdiff --git a/youtube_dlc/utils.py b/yt_dlp/utils.pysimilarity index 99%rename from youtube_dlc/utils.pyrename to yt_dlp/utils.pyindex b33a40fa6a..0dbb854673 100644--- a/youtube_dlc/utils.py+++ b/yt_dlp/utils.py@@ -2341,12 +2341,12 @@ def make_HTTPS_handler(params, **kwargs):def bug_reports_message():if ytdl_is_updateable():- update_cmd = 'type youtube-dlc -U to update'+ update_cmd = 'type yt-dlp -U to update'else:- update_cmd = 'see https://github.com/pukkandan/yt-dlp on how to update'- msg = '; please report this issue on https://github.com/pukkandan/yt-dlp .'+ update_cmd = 'see https://github.com/yt-dlp/yt-dlp on how to update'+ msg = '; please report this issue on https://github.com/yt-dlp/yt-dlp .'msg += ' Make sure you are using the latest version; %s.' % update_cmd- msg += ' Be sure to call youtube-dlc with the --verbose flag and include its complete output.'+ msg += ' Be sure to call yt-dlp with the --verbose flag and include its complete output.'return msg@@ -2360,7 +2360,7 @@ class ExtractorError(YoutubeDLError):def __init__(self, msg, tb=None, expected=False, cause=None, video_id=None):""" tb, if given, is the original traceback (so that it can be printed out).- If expected is set, this is a normal error message and most likely not a bug in youtube-dlc.+ If expected is set, this is a normal error message and most likely not a bug in yt-dlp."""if sys.exc_info()[0] in (compat_urllib_error.URLError, socket.timeout, UnavailableVideoError):@@ -2782,7 +2782,7 @@ class YoutubeDLCookieJar(compat_cookiejar.MozillaCookieJar):_HTTPONLY_PREFIX = '#HttpOnly_'_ENTRY_LEN = 7_HEADER = '''# Netscape HTTP Cookie File-# This file is generated by youtube-dlc. Do not edit.+# This file is generated by yt-dlp. Do not edit.'''_CookieFileEntry = collections.namedtuple(@@ -3787,7 +3787,7 @@ def get_exe_version(exe, args=['--version'],or False if the executable is not present """try:# STDIN should be redirected too. On UNIX-like systems, ffmpeg triggers- # SIGTTOU if youtube-dlc is run in the background.+ # SIGTTOU if yt-dlp is run in the background.# See https://github.com/ytdl-org/youtube-dl/issues/955#issuecomment-209789656out, _ = process_communicate_or_kill(subprocess.Popen([encodeArgument(exe)] + args,@@ -4218,7 +4218,7 @@ def is_outdated_version(version, limit, assume_new=True):def ytdl_is_updateable():- """ Returns if youtube-dlc can be updated with -U """+ """ Returns if yt-dlp can be updated with -U """return Falsefrom zipimport import zipimporter@@ -4695,7 +4695,7 @@ def cli_valueless_option(params, command_option, param, expected_value=True):def cli_configuration_args(argdict, key, default=[], exe=None, use_default_arg=True):# use_default_arg can be True, False, or 'no_compat'if isinstance(argdict, (list, tuple)): # for backward compatibility- if use_default_arg == True:+ if use_default_arg is True:return argdictelse:argdict = None@@ -5468,7 +5468,7 @@ class PerRequestProxyHandler(compat_urllib_request.ProxyHandler):return None # No Proxyif compat_urlparse.urlparse(proxy).scheme.lower() in ('socks', 'socks4', 'socks4a', 'socks5'):req.add_header('Ytdl-socks-proxy', proxy)- # youtube-dlc's http/https handlers do wrapping the socket with socks+ # yt-dlp's http/https handlers do wrapping the socket with socksreturn Nonereturn compat_urllib_request.ProxyHandler.proxy_open(self, req, proxy, type)@@ -5741,7 +5741,7 @@ def write_xattr(path, key, value):# TODO: fallback to CLI toolsraise XAttrUnavailableError('python-pyxattr is detected but is too old. '- 'youtube-dlc requires %s or above while your version is %s. '+ 'yt-dlp requires %s or above while your version is %s. ''Falling back to other xattr implementations' % (pyxattr_required_version, xattr.__version__))diff --git a/youtube_dlc/version.py b/yt_dlp/version.pysimilarity index 100%rename from youtube_dlc/version.pyrename to yt_dlp/version.pydiff --git a/ytdlp_plugins/extractor/sample.py b/ytdlp_plugins/extractor/sample.pyindex 321f3fed19..5d8df1df50 100644--- a/ytdlp_plugins/extractor/sample.py+++ b/ytdlp_plugins/extractor/sample.py@@ -1,7 +1,7 @@from __future__ import unicode_literals# Don't use relative imports-from youtube_dlc.extractor.common import InfoExtractor+from yt_dlp.extractor.common import InfoExtractor# See https://github.com/ytdl-org/youtube-dl#adding-support-for-a-new-site