]> jfr.im git - yt-dlp.git/commitdiff
[SouthparkDe] Support for English URLs
authorxypwn <redacted>
Mon, 23 Nov 2020 15:49:39 +0000 (16:49 +0100)
committerGitHub <redacted>
Mon, 23 Nov 2020 15:49:39 +0000 (16:49 +0100)
Allow downloading English South Park episodes from the southpark.de

youtube_dlc/extractor/southpark.py

index 20ae7c5e7d9b647358158fc36c1b87b118984928..95e6d289041081361a6a76e93f2c5f17c07d650a 100644 (file)
@@ -44,7 +44,7 @@ class SouthParkEsIE(SouthParkIE):
 
 class SouthParkDeIE(SouthParkIE):
     IE_NAME = 'southpark.de'
-    _VALID_URL = r'https?://(?:www\.)?(?P<url>southpark\.de/(?:videoclip|collections|folgen)/(?P<id>(?P<unique_id>.+?)/.+?)(?:\?|#|$))'
+    _VALID_URL = r'https?://(?:www\.)?(?P<url>southpark\.de/(?:(en/(videoclip|collections|episodes))|(videoclip|collections|folgen))/(?P<id>(?P<unique_id>.+?)/.+?)(?:\?|#|$))'
     # _FEED_URL = 'http://feeds.mtvnservices.com/od/feed/intl-mrss-player-feed'
 
     _TESTS = [{