A feature-rich command-line audio/video downloader
[cleanup] Misc (#14268)
bashonly2e81e298cdce
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 103dc0b203..52c61808fc 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -272,7 +272,7 @@ jobs:printf '\n\n%s\n\n%s%s\n\n---\n' \"#### A description of the various files is in the [README](https://github.com/${REPOSITORY}#release-files)" \"The PyInstaller-bundled executables are subject to the licenses described in " \- "[THIRD_PARTY_LICENSES.txt](https://github.com/${BASE_REPO}/blob/master/THIRD_PARTY_LICENSES.txt)" >> ./RELEASE_NOTES+ "[THIRD_PARTY_LICENSES.txt](https://github.com/${BASE_REPO}/blob/${HEAD_SHA}/THIRD_PARTY_LICENSES.txt)" >> ./RELEASE_NOTESpython ./devscripts/make_changelog.py -vv --collapsible >> ./RELEASE_NOTESprintf '%s\n\n' '**This is a pre-release build**' >> ./PRERELEASE_NOTEScat ./RELEASE_NOTES >> ./PRERELEASE_NOTESdiff --git a/.github/workflows/test-workflows.yml b/.github/workflows/test-workflows.ymlindex c07e01d7af..684ec6cc44 100644--- a/.github/workflows/test-workflows.yml+++ b/.github/workflows/test-workflows.yml@@ -49,4 +49,4 @@ jobs:shellcheck bundle/docker/linux/*.sh- name: Test GHA devscriptsrun: |- pytest -Werror --tb=short devscripts/setup_variables_tests.py+ pytest -Werror --tb=short --color=yes devscripts/setup_variables_tests.pydiff --git a/README.md b/README.mdindex 17cd6bc577..9e543aeeff 100644--- a/README.md+++ b/README.md@@ -2217,7 +2217,6 @@ with yt_dlp.YoutubeDL(ydl_opts) as ydl:* Fix for [n-sig based throttling](https://github.com/ytdl-org/youtube-dl/issues/29326) **\**** Download livestreams from the start using `--live-from-start` (*experimental*)* Channel URLs download all uploads of the channel, including shorts and live- * Support for [logging in with OAuth](https://github.com/yt-dlp/yt-dlp/wiki/Extractors#logging-in-with-oauth)* **Cookies from browser**: Cookies can be automatically extracted from all major web browsers using `--cookies-from-browser BROWSER[+KEYRING][:PROFILE][::CONTAINER]`@@ -2361,7 +2360,7 @@ While these options still work, their use is not recommended since there are oth--hls-prefer-native --downloader "m3u8:native"--hls-prefer-ffmpeg --downloader "m3u8:ffmpeg"--list-formats-old --compat-options list-formats (Alias: --no-list-formats-as-table)- --list-formats-as-table --compat-options -list-formats [Default] (Alias: --no-list-formats-old)+ --list-formats-as-table --compat-options -list-formats [Default]--geo-bypass --xff "default"--no-geo-bypass --xff "never"--geo-bypass-country CODE --xff CODEdiff --git a/devscripts/changelog_override.json b/devscripts/changelog_override.jsonindex f551b44e9c..618e7fe6fe 100644--- a/devscripts/changelog_override.json+++ b/devscripts/changelog_override.json@@ -293,5 +293,10 @@"action": "add","when": "c76ce28e06c816eb5b261dfb6aff6e69dd9b7382","short": "[priority] **linux_armv7l_exe builds are being discontinued**\nThis release's `yt-dlp_linux_armv7l` binary could be the last one. [Read more](https://github.com/yt-dlp/yt-dlp/issues/13976)"+ },+ {+ "action": "add",+ "when": "08d78996831bd8e1e3c2592d740c3def00bbf548",+ "short": "[priority] **Several options have been deprecated**\nIn order to simplify the codebase and reduce maintenance burden, various options have been deprecated. Please remove them from your commands/configurations. [Read more](https://github.com/yt-dlp/yt-dlp/issues/14198)"}]diff --git a/yt_dlp/extractor/tenplay.py b/yt_dlp/extractor/tenplay.pyindex 9dc1de6b78..bf5dddde42 100644--- a/yt_dlp/extractor/tenplay.py+++ b/yt_dlp/extractor/tenplay.py@@ -109,7 +109,7 @@ class TenPlayIE(InfoExtractor):video_data = self._download_json(f'https://vod.ten.com.au/api/videos/bcquery?command=find_videos_by_id&video_id={data["altId"]}',content_id, 'Downloading video JSON')- # Dash URL 403s, changing the m3u8 format works+ # Dash URL 404s, changing the m3u8 format worksm3u8_url = self._request_webpage(HEADRequest(update_url_query(video_data['items'][0]['dashManifestUrl'], {'manifest': 'm3u',diff --git a/yt_dlp/extractor/txxx.py b/yt_dlp/extractor/txxx.pyindex 488c13b1ac..c0b7161bd2 100644--- a/yt_dlp/extractor/txxx.py+++ b/yt_dlp/extractor/txxx.py@@ -343,22 +343,6 @@ class TxxxIE(InfoExtractor):'thumbnail': 'https://tn.voyeurhit.com/contents/videos_sources/332000/332875/screenshots/1.jpg',},}]- _WEBPAGE_TESTS = [{- 'url': 'https://pornzog.com/video/9125519/michelle-malone-dreamgirls-wild-wet-3/',- 'info_dict': {- 'id': '5119660',- 'display_id': '5119660',- 'ext': 'mp4',- 'title': 'Michelle Malone - Dreamgirls - Wild Wet 3',- 'uploader': 'FallenAngel12',- 'duration': 402,- 'view_count': int,- 'like_count': int,- 'dislike_count': int,- 'age_limit': 18,- 'thumbnail': 'https://hctn.nv7s.com/contents/videos_sources/5119000/5119660/screenshots/1.jpg',- },- }]def _call_api(self, url, video_id, fatal=False, **kwargs):content = self._download_json(url, video_id, fatal=fatal, **kwargs)