mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 22:55:42 +07:00
Merge branch 'youtube-dash-manifest'
Conflicts: youtube_dl/extractor/youtube.py
This commit is contained in:
@@ -1131,8 +1131,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