A feature-rich command-line audio/video downloader
Release 2022.06.29
pukkandan9d339c41e25b
diff --git a/CONTRIBUTORS b/CONTRIBUTORSindex 17a1d192d4..b0257f5052 100644--- a/CONTRIBUTORS+++ b/CONTRIBUTORS@@ -267,3 +267,8 @@ sqrtNOTbubbleguuumdarkxexmiseran+StefanLobbenmeier+crazymoose77756+nomevi+Brett824+pingiundiff --git a/Changelog.md b/Changelog.mdindex fa8851791f..b853728a9d 100644--- a/Changelog.md+++ b/Changelog.md@@ -11,6 +11,45 @@-->+### 2022.06.29++* Fix `--downloader native`+* Fix `section_end` of clips+* Fix playlist error handling+* Sanitize `chapters`+* [extractor] Fix `_create_request` when headers is None+* [extractor] Fix empty `BaseURL` in MPD+* [ffmpeg] Write full output to debug on error+* [hls] Warn user when trying to download live HLS+* [options] Fix `parse_known_args` for `--`+* [utils] Fix inconsistent default handling between HTTP and HTTPS requests by [coletdjnz](https://github.com/coletdjnz)+* [build] Draft release until complete+* [build] Fix release tag commit+* [build] Standalone x64 builds for MacOS 10.9 by [StefanLobbenmeier](https://github.com/StefanLobbenmeier)+* [update] Ability to set a maximum version for specific variants+* [compat] Fix `compat.WINDOWS_VT_MODE`+* [compat] Remove deprecated functions from core code+* [compat] Remove more functions+* [cleanup, extractor] Reduce direct use of `_downloader`+* [cleanup] Consistent style for file heads+* [cleanup] Fix some typos by [crazymoose77756](https://github.com/crazymoose77756)+* [cleanup] Misc fixes and cleanup+* [extractor/Scrolller] Add extractor by [LunarFang416](https://github.com/LunarFang416)+* [extractor/ViMP] Add playlist extractor by [FestplattenSchnitzel](https://github.com/FestplattenSchnitzel)+* [extractor/fuyin] Add extractor by [HobbyistDev](https://github.com/HobbyistDev)+* [extractor/livestreamfails] Add extractor by [nomevi](https://github.com/nomevi)+* [extractor/premiershiprugby] Add extractor by [HobbyistDev](https://github.com/HobbyistDev)+* [extractor/steam] Add broadcast extractor by [HobbyistDev](https://github.com/HobbyistDev)+* [extractor/youtube] Mark videos as fully watched by [Brett824](https://github.com/Brett824)+* [extractor/CWTV] Extract thumbnail by [ischmidt20](https://github.com/ischmidt20)+* [extractor/ViMP] Add thumbnail and support more sites by [FestplattenSchnitzel](https://github.com/FestplattenSchnitzel)+* [extractor/dropout] Support cookies and login only as needed by [pingiun](https://github.com/pingiun), [pukkandan](https://github.com/pukkandan)+* [extractor/ertflix] Improve `_VALID_URL`+* [extractor/lbry] Use HEAD request for redirect URL by [flashdagger](https://github.com/flashdagger)+* [extractor/mediaset] Improve `_VALID_URL`+* [extractor/npr] Implement [e50c350](https://github.com/yt-dlp/yt-dlp/commit/e50c3500b43d80e4492569c4b4523c4379c6fbb2) differently+* [extractor/tennistv] Rewrite extractor by [pukkandan](https://github.com/pukkandan), [zenerdi0de](https://github.com/zenerdi0de)+### 2022.06.22.1* [build] Fix updating homebrew formuladiff --git a/README.md b/README.mdindex e2e789d0c2..607903ff44 100644--- a/README.md+++ b/README.md@@ -71,7 +71,7 @@ yt-dlp is a [youtube-dl](https://github.com/ytdl-org/youtube-dl) fork based on t# NEW FEATURES-* Merged with **youtube-dl v2021.12.17 [commit/8a158a9](https://github.com/ytdl-org/youtube-dl/commit/8a158a936c8b002ef536e9e2b778ded02c09c0fa)**<!--([exceptions](https://github.com/yt-dlp/yt-dlp/issues/21))--> and **youtube-dlc v2020.11.11-3 [commit/f9401f2](https://github.com/blackjack4494/yt-dlc/commit/f9401f2a91987068139c5f757b12fc711d4c0cee)**: You get all the features and patches of [youtube-dlc](https://github.com/blackjack4494/yt-dlc) in addition to the latest [youtube-dl](https://github.com/ytdl-org/youtube-dl)+* Merged with **youtube-dl v2021.12.17+ [commit/a03b977](https://github.com/ytdl-org/youtube-dl/commit/a03b9775d544b06a5b4f2aa630214c7c22fc2229)**<!--([exceptions](https://github.com/yt-dlp/yt-dlp/issues/21))--> and **youtube-dlc v2020.11.11-3+ [commit/f9401f2](https://github.com/blackjack4494/yt-dlc/commit/f9401f2a91987068139c5f757b12fc711d4c0cee)**: You get all the features and patches of [youtube-dlc](https://github.com/blackjack4494/yt-dlc) in addition to the latest [youtube-dl](https://github.com/ytdl-org/youtube-dl)* **[SponsorBlock Integration](#sponsorblock-options)**: You can mark/remove sponsor sections in youtube videos by utilizing the [SponsorBlock](https://sponsor.ajay.app) APIdiff --git a/supportedsites.md b/supportedsites.mdindex 7a91358d5d..539bd0100c 100644--- a/supportedsites.md+++ b/supportedsites.md@@ -418,6 +418,7 @@- **Funk**- **Fusion**- **Fux**+ - **FuyinTV**- **Gab**- **GabTV**- **Gaia**: [<abbr title="netrc machine"><em>gaia</em></abbr>]@@ -618,6 +619,7 @@- **LiveJournal**- **livestream**- **livestream:original**+ - **Livestreamfails**- **Lnk**- **LnkGo**- **loc**: Library of Congress@@ -982,6 +984,7 @@- **PornoVoisines**- **PornoXO**- **PornTube**+ - **PremiershipRugby**- **PressTV**- **ProjectVeritas**- **prosiebensat1**: ProSiebenSat.1 Digital@@ -1113,6 +1116,7 @@- **ScreencastOMatic**- **ScrippsNetworks**- **scrippsnetworks:watch**+ - **Scrolller**- **SCTE**: [<abbr title="netrc machine"><em>scte</em></abbr>]- **SCTECourse**: [<abbr title="netrc machine"><em>scte</em></abbr>]- **Seeker**@@ -1189,6 +1193,7 @@- **stanfordoc**: Stanford Open ClassRoom- **startv**- **Steam**+ - **SteamCommunityBroadcast**- **Stitcher**- **StitcherShow**- **StoryFire**@@ -1427,7 +1432,8 @@- **vimeo:watchlater**: [<abbr title="netrc machine"><em>vimeo</em></abbr>] Vimeo watch later list, ":vimeowatchlater" keyword (requires authentication)- **Vimm:recording**- **Vimm:stream**- - **Vimp**+ - **ViMP**+ - **ViMP:Playlist**- **Vimple**: Vimple - one-click video hosting- **Vine**- **vine:user**diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.pyindex 0711f38c7f..50b85cbfef 100644--- a/yt_dlp/YoutubeDL.py+++ b/yt_dlp/YoutubeDL.py@@ -576,7 +576,9 @@ class YoutubeDL:MIN_SUPPORTED, MIN_RECOMMENDED = (3, 6), (3, 7)current_version = sys.version_info[:2]if current_version < MIN_RECOMMENDED:- msg = 'Support for Python version %d.%d has been deprecated and will break in future versions of yt-dlp'+ msg = ('Support for Python version %d.%d has been deprecated. '+ 'See https://github.com/yt-dlp/yt-dlp/issues/3764 for more details. '+ 'You will recieve only one more update on this version')if current_version < MIN_SUPPORTED:msg = 'Python version %d.%d is no longer supported'self.deprecation_warning(