summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorgeditorit <[email protected]>2019-07-14 01:23:22 +0700
committerSergey M <[email protected]>2019-07-14 01:23:22 +0700
commitba036333bf4ebcba70deb51e77e81dca723fb54d (patch)
treea55466b727fe3c914e0e237c58929635bfcd63a8
parentb7ef93f0ab2963047953be1472a5a108d92b621c (diff)
downloadyoutube-dl-ba036333bf4ebcba70deb51e77e81dca723fb54d.tar.gz
youtube-dl-ba036333bf4ebcba70deb51e77e81dca723fb54d.zip
[youtube] Add more invidious instances to _VALID_URL (#21694)
-rw-r--r--youtube_dl/extractor/youtube.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 8a3c502ba..762611b89 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -371,10 +371,14 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
(?:www\.)?hooktube\.com/|
(?:www\.)?yourepeat\.com/|
tube\.majestyc\.net/|
+ # Invidious instances taken from https://github.com/omarroth/invidious/wiki/Invidious-Instances
(?:(?:www|dev)\.)?invidio\.us/|
- (?:www\.)?invidiou\.sh/|
- (?:www\.)?invidious\.snopyta\.org/|
+ (?:(?:www|no)\.)?invidiou\.sh/|
+ (?:(?:www|fi|de)\.)?invidious\.snopyta\.org/|
(?:www\.)?invidious\.kabi\.tk/|
+ (?:www\.)?invidious\.enkirton\.net/|
+ (?:www\.)?invidious\.13ad\.de/|
+ (?:www\.)?tube\.poal\.co/|
(?:www\.)?vid\.wxzm\.sx/|
youtube\.googleapis\.com/) # the various hostnames, with wildcard subdomains
(?:.*?\#/)? # handle anchor (#/) redirect urls