From 609850acfb6c03dcdfa4d9cdba77df3b0a259968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Thu, 11 Jan 2018 23:10:18 +0700 Subject: [PATCH] [pandoratv] Add support for mobile URLs (closes #12441) --- youtube_dl/extractor/pandoratv.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/pandoratv.py b/youtube_dl/extractor/pandoratv.py index 0c27a61d7..538738c09 100644 --- a/youtube_dl/extractor/pandoratv.py +++ b/youtube_dl/extractor/pandoratv.py @@ -24,7 +24,8 @@ class PandoraTVIE(InfoExtractor): https?:// (?: (?:www\.)?pandora\.tv/view/(?P[^/]+)/(?P\d+)| # new format - (?:.+?\.)?channel\.pandora\.tv/channel/video\.ptv\? # old format + (?:.+?\.)?channel\.pandora\.tv/channel/video\.ptv\?| # old format + m\.pandora\.tv/?\? # mobile ) ''' _TESTS = [{ @@ -64,6 +65,9 @@ class PandoraTVIE(InfoExtractor): }, { 'url': 'http://www.pandora.tv/view/mikakim/53294230#36797454_new', 'only_matching': True, + }, { + 'url': 'http://m.pandora.tv/?c=view&ch_userid=mikakim&prgid=54600346', + 'only_matching': True, }] def _real_extract(self, url):