[viewster] simplify qualities_basename regex
authorremitamine <remitamine@gmail.com>
Sun, 24 Apr 2016 02:06:46 +0000 (03:06 +0100)
committerremitamine <remitamine@gmail.com>
Sun, 24 Apr 2016 02:06:46 +0000 (03:06 +0100)
youtube_dl/extractor/viewster.py

index 1fbf9d7948685801294e71eb689bfdc1996fc088..4289a2f315eb95330f6a83765ddc695c314786ae 100644 (file)
@@ -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)+,?)'