mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-23 15:25:48 +00:00
[cleanup] Misc (#14268)
Closes #13427 Authored by: bashonly, seproDev, doe1080 Co-authored-by: sepro <sepro@sepr0.com> Co-authored-by: doe1080 <98906116+doe1080@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -272,7 +272,7 @@ jobs:
|
|||||||
printf '\n\n%s\n\n%s%s\n\n---\n' \
|
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)" \
|
"#### 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 " \
|
"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_NOTES
|
||||||
python ./devscripts/make_changelog.py -vv --collapsible >> ./RELEASE_NOTES
|
python ./devscripts/make_changelog.py -vv --collapsible >> ./RELEASE_NOTES
|
||||||
printf '%s\n\n' '**This is a pre-release build**' >> ./PRERELEASE_NOTES
|
printf '%s\n\n' '**This is a pre-release build**' >> ./PRERELEASE_NOTES
|
||||||
cat ./RELEASE_NOTES >> ./PRERELEASE_NOTES
|
cat ./RELEASE_NOTES >> ./PRERELEASE_NOTES
|
||||||
|
2
.github/workflows/test-workflows.yml
vendored
2
.github/workflows/test-workflows.yml
vendored
@@ -49,4 +49,4 @@ jobs:
|
|||||||
shellcheck bundle/docker/linux/*.sh
|
shellcheck bundle/docker/linux/*.sh
|
||||||
- name: Test GHA devscripts
|
- name: Test GHA devscripts
|
||||||
run: |
|
run: |
|
||||||
pytest -Werror --tb=short devscripts/setup_variables_tests.py
|
pytest -Werror --tb=short --color=yes devscripts/setup_variables_tests.py
|
||||||
|
@@ -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) **\***
|
* 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*)
|
* Download livestreams from the start using `--live-from-start` (*experimental*)
|
||||||
* Channel URLs download all uploads of the channel, including shorts and live
|
* 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]`
|
* **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-native --downloader "m3u8:native"
|
||||||
--hls-prefer-ffmpeg --downloader "m3u8:ffmpeg"
|
--hls-prefer-ffmpeg --downloader "m3u8:ffmpeg"
|
||||||
--list-formats-old --compat-options list-formats (Alias: --no-list-formats-as-table)
|
--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"
|
--geo-bypass --xff "default"
|
||||||
--no-geo-bypass --xff "never"
|
--no-geo-bypass --xff "never"
|
||||||
--geo-bypass-country CODE --xff CODE
|
--geo-bypass-country CODE --xff CODE
|
||||||
|
@@ -293,5 +293,10 @@
|
|||||||
"action": "add",
|
"action": "add",
|
||||||
"when": "c76ce28e06c816eb5b261dfb6aff6e69dd9b7382",
|
"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)"
|
"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)"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@@ -109,7 +109,7 @@ class TenPlayIE(InfoExtractor):
|
|||||||
video_data = self._download_json(
|
video_data = self._download_json(
|
||||||
f'https://vod.ten.com.au/api/videos/bcquery?command=find_videos_by_id&video_id={data["altId"]}',
|
f'https://vod.ten.com.au/api/videos/bcquery?command=find_videos_by_id&video_id={data["altId"]}',
|
||||||
content_id, 'Downloading video JSON')
|
content_id, 'Downloading video JSON')
|
||||||
# Dash URL 403s, changing the m3u8 format works
|
# Dash URL 404s, changing the m3u8 format works
|
||||||
m3u8_url = self._request_webpage(
|
m3u8_url = self._request_webpage(
|
||||||
HEADRequest(update_url_query(video_data['items'][0]['dashManifestUrl'], {
|
HEADRequest(update_url_query(video_data['items'][0]['dashManifestUrl'], {
|
||||||
'manifest': 'm3u',
|
'manifest': 'm3u',
|
||||||
|
@@ -343,22 +343,6 @@ class TxxxIE(InfoExtractor):
|
|||||||
'thumbnail': 'https://tn.voyeurhit.com/contents/videos_sources/332000/332875/screenshots/1.jpg',
|
'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):
|
def _call_api(self, url, video_id, fatal=False, **kwargs):
|
||||||
content = self._download_json(url, video_id, fatal=fatal, **kwargs)
|
content = self._download_json(url, video_id, fatal=fatal, **kwargs)
|
||||||
|
Reference in New Issue
Block a user