A feature-rich command-line audio/video downloader
Release 2022.02.03
pukkandan28469edd7da8
diff --git a/CONTRIBUTORS b/CONTRIBUTORSindex d24326fb67..fd93e7df31 100644--- a/CONTRIBUTORS+++ b/CONTRIBUTORS@@ -190,3 +190,7 @@ CreaValixsian1468arkamarhyano+KiberInfinity+tejing1+Bricio+lazypete365diff --git a/Changelog.md b/Changelog.mdindex a0e9af2e05..405d5ba33c 100644--- a/Changelog.md+++ b/Changelog.md@@ -11,6 +11,63 @@-->+### 2022.02.03++* Merge youtube-dl: Upto [commit/78ce962](https://github.com/ytdl-org/youtube-dl/commit/78ce962f4fe020994c216dd2671546fbe58a5c67)+* Add option `--print-to-file`+* Make nested --config-locations relative to parent file+* Ensure `_type` is present in `info.json`+* Fix `--compat-options list-formats`+* Fix/improve `InAdvancePagedList`+* [downloader/ffmpeg] Handle unknown formats better+* [outtmpl] Handle `-o ""` better+* [outtmpl] Handle hard-coded file extension better+* [extractor] Add convinience function `_yes_playlist`+* [extractor] Allow non-fatal `title` extraction+* [extractor] Extract video inside `Article` json_ld+* [generic] Allow further processing of json_ld URL+* [cookies] Fix keyring selection for unsupported desktops+* [utils] Strip double spaces in `clean_html` by [dirkf](https://github.com/dirkf)+* [aes] Add `unpad_pkcs7`+* [test] Fix `test_youtube_playlist_noplaylist`+* [docs,cleanup] Misc cleanup+* [dplay] Add extractors for site changes by [Sipherdrakon](https://github.com/Sipherdrakon)+* [ertgr] Add extractors by [zmousm](https://github.com/zmousm), [dirkf](https://github.com/dirkf)+* [Musicdex] Add extractors by [Ashish0804](https://github.com/Ashish0804)+* [YandexVideoPreview] Add extractor by [KiberInfinity](https://github.com/KiberInfinity)+* [youtube] Add extractor `YoutubeMusicSearchURLIE`+* [archive.org] Ignore unnecessary files+* [Bilibili] Add 8k support by [u-spec-png](https://github.com/u-spec-png)+* [bilibili] Fix extractor, make anthology title non-fatal+* [CAM4] Add thumbnail extraction by [alerikaisattera](https://github.com/alerikaisattera)+* [cctv] De-prioritize sample format+* [crunchyroll:beta] Add cookies support by [tejing1](https://github.com/tejing1)+* [crunchyroll] Fix login by [tejing1](https://github.com/tejing1)+* [doodstream] Fix extractor+* [fc2] Fix extraction by [Lesmiscore](https://github.com/Lesmiscore)+* [FFmpegConcat] Abort on --skip-download and download errors+* [Fujitv] Extract metadata and support premium by [YuenSzeHong](https://github.com/YuenSzeHong)+* [globo] Fix extractor by [Bricio](https://github.com/Bricio)+* [glomex] Simplify embed detection+* [GoogleSearch] Fix extractor+* [Instagram] Fix extraction when logged in by [MinePlayersPE](https://github.com/MinePlayersPE)+* [iq.com] Add VIP support by [MinePlayersPE](https://github.com/MinePlayersPE)+* [mildom] Fix extractor by [lazypete365](https://github.com/lazypete365)+* [MySpass] Fix video url processing by [trassshhub](https://github.com/trassshhub)+* [Odnoklassniki] Improve embedded players extraction by [KiberInfinity](https://github.com/KiberInfinity)+* [orf:tvthek] Lazy playlist extraction and obey --no-playlist+* [Pladform] Fix redirection to external player by [KiberInfinity](https://github.com/KiberInfinity)+* [ThisOldHouse] Improve Premium URL check by [Ashish0804](https://github.com/Ashish0804)+* [TikTok] Iterate through app versions by [MinePlayersPE](https://github.com/MinePlayersPE)+* [tumblr] Fix 403 errors and handle vimeo embeds by [foghawk](https://github.com/foghawk)+* [viki] Fix "Bad request" for manifest by [nyuszika7h](https://github.com/nyuszika7h)+* [Vimm] add recording extractor by [alerikaisattera](https://github.com/alerikaisattera)+* [web.archive:youtube] Add `ytarchive:` prefix and misc cleanup+* [youtube:api] Do not use seek when reading HTTPError response by [coletdjnz](https://github.com/coletdjnz)+* [youtube] Fix n-sig for player e06dea74+* [youtube, cleanup] Misc fixes and cleanup++### 2022.01.21* Add option `--concat-playlist` to **concat videos in a playlist**diff --git a/supportedsites.md b/supportedsites.mdindex a55b3ee131..7c4b9bee9a 100644--- a/supportedsites.md+++ b/supportedsites.md@@ -54,6 +54,7 @@- **AMCNetworks**- **AmericasTestKitchen**- **AmericasTestKitchenSeason**+ - **AmHistoryChannel**- **anderetijden**: npo.nl, ntr.nl, omroepwnl.nl, zapp.nl and npo3.nl- **AnimalPlanet**- **AnimeLab**@@ -227,6 +228,7 @@- **ComedyCentralTV**- **CondeNast**: Condé Nast media group: Allure, Architectural Digest, Ars Technica, Bon Appétit, Brides, Condé Nast, Condé Nast Traveler, Details, Epicurious, GQ, Glamour, Golf Digest, SELF, Teen Vogue, The New Yorker, Vanity Fair, Vogue, W Magazine, WIRED- **CONtv**+ - **CookingChannel**- **Corus**- **Coub**- **CozyTV**@@ -268,21 +270,20 @@- **DeezerPlaylist**- **defense.gouv.fr**- **democracynow**+ - **DestinationAmerica**- **DHM**: Filmarchiv - Deutsches Historisches Museum- **Digg**- **DigitalConcertHall**: DigitalConcertHall extractor- **DigitallySpeaking**- **Digiteka**- **Discovery**- - **DiscoveryGo**- - **DiscoveryGoPlaylist**+ - **DiscoveryLife**- **DiscoveryNetworksDe**- **DiscoveryPlus**- **DiscoveryPlusIndia**- **DiscoveryPlusIndiaShow**- **DiscoveryPlusItaly**- **DiscoveryPlusItalyShow**- - **DiscoveryVR**- **Disney**- **DIYNetwork**- **dlive:stream**@@ -331,6 +332,9 @@- **Eporner**- **EroProfile**- **EroProfile:album**+ - **ertflix**: ERTFLIX videos+ - **ertflix:codename**: ERTFLIX videos by codename+ - **ertwebtv:embed**: ert.gr webtv embedded videos- **Escapist**- **ESPN**- **ESPNArticle**@@ -360,6 +364,7 @@- **FiveTV**- **Flickr**- **Folketinget**: Folketinget (ft.dk; Danish parliament)+ - **FoodNetwork**- **FootyRoom**- **Formula1**- **FOX**@@ -418,6 +423,7 @@- **glomex**: Glomex videos- **glomex:embed**: Glomex embedded videos- **Go**+ - **GoDiscovery**- **GodTube**- **Gofile**- **Golem**@@ -439,6 +445,7 @@- **hetklokhuis**- **hgtv.com:show**- **HGTVDe**+ - **HGTVUsa**- **HiDive**- **HistoricFilms**- **history:player**@@ -486,6 +493,7 @@- **InstagramIOS**: IOS instagram:// URL- **Internazionale**- **InternetVideoArchive**+ - **InvestigationDiscovery**- **IPrima**- **IPrimaCNN**- **iq.com**: International version of iQiyi@@ -665,6 +673,10 @@- **MTVUutisetArticle**- **MuenchenTV**: münchen.tv- **MuseScore**+ - **MusicdexAlbum**+ - **MusicdexArtist**+ - **MusicdexPlaylist**+ - **MusicdexSong**- **mva**: Microsoft Virtual Academy videos- **mva:course**: Microsoft Virtual Academy courses- **Mwave**@@ -1186,6 +1198,7 @@- **tiktok:tag**- **tiktok:user**- **tinypic**: tinypic.com videos+ - **TLC**- **TMZ**- **TNAFlix**- **TNAFlixNetworkEmbed**@@ -1198,6 +1211,7 @@- **Toypics**: Toypics video- **ToypicsUser**: Toypics user profile- **TrailerAddict** (Currently broken)+ - **TravelChannel**- **Trilulilu**- **Trovo**- **TrovoChannelClip**: All Clips of a trovo.live channel; "trovoclip:" prefix@@ -1310,7 +1324,7 @@- **Viddler**- **Videa**- **video.arnes.si**: Arnes Video- - **video.google:search**: Google Video search; "gvsearch:" prefix (Currently broken)+ - **video.google:search**: Google Video search; "gvsearch:" prefix- **video.sky.it**- **video.sky.it:live**- **VideoDetective**@@ -1339,7 +1353,8 @@- **vimeo:review**: Review pages on vimeo- **vimeo:user**- **vimeo:watchlater**: Vimeo watch later list, "vimeowatchlater" keyword (requires authentication)- - **Vimm**+ - **Vimm:recording**+ - **Vimm:stream**- **Vimple**: Vimple - one-click video hosting- **Vine**- **vine:user**@@ -1392,7 +1407,7 @@- **wdr:mobile**- **WDRElefant**- **WDRPage**- - **web.archive:youtube**: web.archive.org saved youtube videos+ - **web.archive:youtube**: web.archive.org saved youtube videos, "ytarchive:" prefix- **Webcaster**- **WebcasterFeed**- **WebOfStories**@@ -1443,6 +1458,7 @@- **yandexmusic:playlist**: Яндекс.Музыка - Плейлист- **yandexmusic:track**: Яндекс.Музыка - Трек- **YandexVideo**+ - **YandexVideoPreview**- **YapFiles**- **YesJapan**- **yinyuetai:video**: 音悦Tai@@ -1459,6 +1475,7 @@- **youtube**: YouTube- **youtube:favorites**: YouTube liked videos; ":ytfav" keyword (requires cookies)- **youtube:history**: Youtube watch history; ":ythis" keyword (requires cookies)+ - **youtube:music:search_url**: YouTube music search URLs with selectable sections (Eg: #songs)- **youtube:playlist**: YouTube playlists- **youtube:recommended**: YouTube recommended videos; ":ytrec" keyword- **youtube:search**: YouTube search; "ytsearch:" prefixdiff --git a/test/test_utils.py b/test/test_utils.pyindex 11a13a6910..6be5bb642e 100644--- a/test/test_utils.py+++ b/test/test_utils.py@@ -1133,7 +1133,7 @@ class TestUtil(unittest.TestCase):def test_clean_html(self):self.assertEqual(clean_html('a:\nb'), 'a: b')- self.assertEqual(clean_html('a:\n "b"'), 'a: "b"')+ self.assertEqual(clean_html('a:\n "b"'), 'a: "b"')self.assertEqual(clean_html('a<br>\xa0b'), 'a\nb')def test_intlist_to_bytes(self):