mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[viewster] simplify qualities_basename regex
This commit is contained in:
parent
864d5e7231
commit
fda9a1ca9e
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ def _real_extract(self, url):
|
||||||
formats.extend(m3u8_formats)
|
formats.extend(m3u8_formats)
|
||||||
else:
|
else:
|
||||||
qualities_basename = self._search_regex(
|
qualities_basename = self._search_regex(
|
||||||
'/([^/]+)(?:.csmil/manifest.f4m|.csmil/master.m3u8)',
|
'/([^/]+)\.csmil/',
|
||||||
manifest_url, 'qualities basename', default=None)
|
manifest_url, 'qualities basename', default=None)
|
||||||
if qualities_basename:
|
if qualities_basename:
|
||||||
QUALITIES_RE = r'((,\d+k)+,?)'
|
QUALITIES_RE = r'((,\d+k)+,?)'
|
||||||
|
|
Loading…
Reference in a new issue