]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[youtube] Add more invidious instances
authordimqua <dimqua@users.noreply.github.com>
Sun, 3 Mar 2019 01:19:36 +0000 (04:19 +0300)
committerSergey M <dstftw@gmail.com>
Sun, 3 Mar 2019 01:19:36 +0000 (08:19 +0700)
See [Invidious-Instances](https://github.com/omarroth/invidious/wiki/Invidious-Instances) for the reference.

youtube_dl/extractor/youtube.py

index c8bf98b5864fcce75d830f49e719797af6af7205..457e2aceae34f5dce62652217fba193271900de0 100644 (file)
@@ -352,6 +352,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
                             (?:www\.)?yourepeat\.com/|
                             tube\.majestyc\.net/|
                             (?:www\.)?invidio\.us/|
+                            (?:www\.)?invidious\.snopyta\.org/|
+                            (?:www\.)?invidious\.kabi\.tk/|
+                            (?:www\.)?vid\.wxzm\.sx/|
                             youtube\.googleapis\.com/)                        # the various hostnames, with wildcard subdomains
                          (?:.*?\#/)?                                          # handle anchor (#/) redirect urls
                          (?:                                                  # the various things that can precede the ID: