From: remitamine Date: Sun, 24 Apr 2016 02:06:46 +0000 (+0100) Subject: [viewster] simplify qualities_basename regex X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=fda9a1ca9e469b97bb28edc00bc6b9974e1fab7a;p=youtube-dl [viewster] simplify qualities_basename regex --- 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 @@ class ViewsterIE(InfoExtractor): 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)+,?)'