From fda9a1ca9e469b97bb28edc00bc6b9974e1fab7a Mon Sep 17 00:00:00 2001 From: remitamine Date: Sun, 24 Apr 2016 03:06:46 +0100 Subject: [PATCH] [viewster] simplify qualities_basename regex --- youtube_dl/extractor/viewster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/viewster.py b/youtube_dl/extractor/viewster.py index 1fbf9d794..4289a2f31 100644 --- a/youtube_dl/extractor/viewster.py +++ b/youtube_dl/extractor/viewster.py @@ -144,7 +144,7 @@ def _real_extract(self, url): formats.extend(m3u8_formats) else: qualities_basename = self._search_regex( - '/([^/]+)(?:.csmil/manifest.f4m|.csmil/master.m3u8)', + '/([^/]+)\.csmil/', manifest_url, 'qualities basename', default=None) if qualities_basename: QUALITIES_RE = r'((,\d+k)+,?)'