diff --git a/youtube_dl/extractor/sverigesradio.py b/youtube_dl/extractor/sverigesradio.py index cfbf1f7a9..64c6268d5 100644 --- a/youtube_dl/extractor/sverigesradio.py +++ b/youtube_dl/extractor/sverigesradio.py @@ -21,6 +21,7 @@ class SverigesRadioIE(InfoExtractor): # TODO more properties (see youtube_dl/extractor/common.py) } + class SverigesRadioArtikelIE(SverigesRadioIE): _VALID_URL = r'https?://(?:www\.)?sverigesradio\.se/sida/artikel.aspx\?(.*)artikel=(?P[0-9]*)' _TEST = { @@ -39,6 +40,7 @@ class SverigesRadioArtikelIE(SverigesRadioIE): } SR_type = 'publication' + class SverigesRadioAvsnittIE(SverigesRadioIE): _VALID_URL = r'https?://(?:www\.)?sverigesradio\.se/sida/avsnitt/(?P[0-9]*)' _TESTS = [{