A feature-rich command-line audio/video downloader
[youtube] Add support for more invidious instances (#25417)
striker.sh1db5ab6b34b0
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.pyindex 2cf79e74d8..fec17987b8 100644--- a/youtube_dl/extractor/youtube.py+++ b/youtube_dl/extractor/youtube.py@@ -391,6 +391,12 @@ class YoutubeIE(YoutubeBaseInfoExtractor):(?:www\.)?yewtu\.be/|(?:www\.)?yt\.elukerio\.org/|(?:www\.)?yt\.lelux\.fi/|+ (?:www\.)?invidious\.ggc-project\.de/|+ (?:www\.)?yt\.maisputain\.ovh/|+ (?:www\.)?invidious\.13ad\.de/|+ (?:www\.)?invidious\.toot\.koeln/|+ (?:www\.)?invidious\.fdn\.fr/|+ (?:www\.)?watch\.nettohikari\.com/|(?:www\.)?kgg2m7yk5aybusll\.onion/|(?:www\.)?qklhadlycap4cnod\.onion/|(?:www\.)?axqzx4s6s54s32yentfqojs3x5i7faxza6xo3ehd4bzzsg2ii4fv2iid\.onion/|@@ -398,6 +404,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):(?:www\.)?fz253lmuao3strwbfbmx46yu7acac2jz27iwtorgmbqlkurlclmancad\.onion/|(?:www\.)?invidious\.l4qlywnpwqsluw65ts7md3khrivpirse744un3x7mlskqauz5pyuzgqd\.onion/|(?:www\.)?owxfohz4kjyv25fvlqilyxast7inivgiktls3th44jhk3ej3i7ya\.b32\.i2p/|+ (?:www\.)?4l2dgddgsrkf2ous66i6seeyi6etzfgrue332grh2n7madpwopotugyd\.onion/|youtube\.googleapis\.com/) # the various hostnames, with wildcard subdomains(?:.*?\#/)? # handle anchor (#/) redirect urls(?: # the various things that can precede the ID: