]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[youtube:playlist] Add support for invidio.us (closes #18077)
authorSergey M․ <dstftw@gmail.com>
Mon, 5 Nov 2018 12:08:39 +0000 (19:08 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 5 Nov 2018 12:08:39 +0000 (19:08 +0700)
youtube_dl/extractor/youtube.py

index abadfa5455f95a9270f3a933fd5222d6f9c5bb4a..6ab2db274f24e371ccd63ee3f498c23306b58fd6 100644 (file)
@@ -2162,7 +2162,11 @@ class YoutubePlaylistIE(YoutubePlaylistBaseInfoExtractor):
                         (?:https?://)?
                         (?:\w+\.)?
                         (?:
-                            youtube\.com/
+                            (?:
+                                youtube\.com|
+                                invidio\.us
+                            )
+                            /
                             (?:
                                (?:course|view_play_list|my_playlists|artist|playlist|watch|embed/(?:videoseries|[0-9A-Za-z_-]{11}))
                                \? (?:.*?[&;])*? (?:p|a|list)=
@@ -2314,6 +2318,9 @@ class YoutubePlaylistIE(YoutubePlaylistBaseInfoExtractor):
         # music album playlist
         'url': 'OLAK5uy_m4xAFdmMC5rX3Ji3g93pQe3hqLZw_9LhM',
         'only_matching': True,
+    }, {
+        'url': 'https://invidio.us/playlist?list=PLDIoUOhQQPlXr63I_vwF9GD8sAKh77dWU',
+        'only_matching': True,
     }]
 
     def _real_initialize(self):