[youtube] Add support for invidious.mastodon.host (#21777)
authorgeditorit <52565706+geditorit@users.noreply.github.com>
Mon, 15 Jul 2019 15:54:22 +0000 (22:54 +0700)
committerSergey M <dstftw@gmail.com>
Mon, 15 Jul 2019 15:54:22 +0000 (22:54 +0700)
youtube_dl/extractor/youtube.py

index 43a3fad9f81409419c3a2d35468f2c8e78006a72..a87a46b3bb768f4f83b34c7fd004dbf3f8e68f7e 100644 (file)
@@ -378,6 +378,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
                             (?:www\.)?invidious\.kabi\.tk/|
                             (?:www\.)?invidious\.enkirton\.net/|
                             (?:www\.)?invidious\.13ad\.de/|
+                            (?:www\.)?invidious\.mastodon\.host/|
                             (?:www\.)?tube\.poal\.co/|
                             (?:www\.)?vid\.wxzm\.sx/|
                             youtube\.googleapis\.com/)                        # the various hostnames, with wildcard subdomains