1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-26 11:22:56 +01:00

[viewster] simplify qualities_basename regex

This commit is contained in:
remitamine 2016-04-24 03:06:46 +01:00
parent 864d5e7231
commit fda9a1ca9e

View 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)+,?)'