diff --git a/youtube_dl/extractor/intldropout.py b/youtube_dl/extractor/intldropout.py index 1b401b4a0..fa35dcf3d 100644 --- a/youtube_dl/extractor/intldropout.py +++ b/youtube_dl/extractor/intldropout.py @@ -95,7 +95,7 @@ class IntlDropoutIE(VHXEmbedIE): class IntlDropoutPlaylistIE(IntlDropoutIE): IE_NAME = 'intldropout:playlist' - _VALID_URL = r'^https://intl\.dropout\.tv/(?P[^/]+(/season:[^/]+)?)$' + _VALID_URL = r'^https://intl\.dropout\.tv/(?P.+)' _TESTS = [ { 'url': 'https://intl.dropout.tv/um-actually-the-web-series', @@ -114,9 +114,22 @@ class IntlDropoutPlaylistIE(IntlDropoutIE): 'id': 'new-releases', 'title': 'New Releases', } + }, + { + 'url': 'https://intl.dropout.tv/troopers/season:2', + 'md5': 'ebcd26ef54f546225e7cb96e79da31cc', + 'playlist_count': 10, + 'info_dict': { + 'id': 'troopers/season:2', + 'title': 'Troopers', + } } ] + @classmethod + def suitable(cls, url): + return False if IntlDropoutIE.suitable(url) else super(IntlDropoutPlaylistIE, cls).suitable(url) + def _real_extract(self, url): playlist_id = self._search_regex(r'https://intl.dropout.tv/(?P.+)', url, 'id') webpage = self._download_webpage(url, playlist_id)