mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 22:55:42 +07:00
[youtube] Download DASH manifest
If given, download and parse the DASH manifest file, in order to get ultra-HQ formats. Fixes #2166
This commit is contained in:
@@ -1128,8 +1128,8 @@ def get_method(self):
|
||||
return "HEAD"
|
||||
|
||||
|
||||
def int_or_none(v):
|
||||
return v if v is None else int(v)
|
||||
def int_or_none(v, scale=1):
|
||||
return v if v is None else (int(v) // scale)
|
||||
|
||||
|
||||
def parse_duration(s):
|
||||
|
||||
Reference in New Issue
Block a user