southpark-de-downloader/fix-southpark-de-en.diff

12 lines
591 B
Diff
Raw Normal View History

2020-12-13 11:54:02 +01:00
--- yt-dlc/youtube_dlc/extractor/southpark.py
+++ yt-dlc/youtube_dlc/extractor/southpark.py
@@ -44,7 +44,7 @@
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 = [{