]> jfr.im git - yt-dlp.git/commitdiff
[youtube] Added piped instance urls (#3714)
authorJordan Weatherby <redacted>
Thu, 12 May 2022 20:52:13 +0000 (21:52 +0100)
committerGitHub <redacted>
Thu, 12 May 2022 20:52:13 +0000 (13:52 -0700)
Closes #3661
Authored by: JordanWeatherby

yt_dlp/extractor/youtube.py

index 97c0a2f15a5350539008a72f56a9ff124b0150ac..345fc1e93b31efc365e427c116ee473bdb552209 100644 (file)
@@ -349,6 +349,16 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
         r'(?:www\.)?kbjggqkzv65ivcqj6bumvp337z6264huv5kpkwuv6gu5yjiskvan7fad\.onion',
         r'(?:www\.)?grwp24hodrefzvjjuccrkw3mjq4tzhaaq32amf33dzpmuxe7ilepcmad\.onion',
         r'(?:www\.)?hpniueoejy4opn7bc4ftgazyqjoeqwlvh2uiku2xqku6zpoa4bf5ruid\.onion',
+        # piped instances from https://github.com/TeamPiped/Piped/wiki/Instances
+        r'(?:www\.)?piped\.kavin\.rocks',
+        r'(?:www\.)?piped\.silkky\.cloud',
+        r'(?:www\.)?piped\.tokhmi\.xyz',
+        r'(?:www\.)?piped\.moomoo\.me',
+        r'(?:www\.)?il\.ax',
+        r'(?:www\.)?piped\.syncpundit\.com',
+        r'(?:www\.)?piped\.mha\.fi',
+        r'(?:www\.)?piped\.mint\.lgbt',
+        r'(?:www\.)?piped\.privacy\.com\.de',
     )
 
     def _initialize_consent(self):