mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-03-10 00:01:36 +00:00
[cleanup] Misc
This commit is contained in:
@@ -76,7 +76,7 @@ class MindsIE(MindsBaseIE):
|
||||
else:
|
||||
return self.url_result(entity['perma_url'])
|
||||
else:
|
||||
assert(entity['subtype'] == 'video')
|
||||
assert entity['subtype'] == 'video'
|
||||
video_id = entity_id
|
||||
# 1080p and webm formats available only on the sources array
|
||||
video = self._call_api(
|
||||
|
||||
@@ -3562,8 +3562,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
|
||||
formats.extend(self._extract_storyboard(player_responses, duration))
|
||||
|
||||
# Source is given priority since formats that throttle are given lower source_preference
|
||||
# When throttling issue is fully fixed, remove this
|
||||
# source_preference is lower for throttled/potentially damaged formats
|
||||
self._sort_formats(formats, ('quality', 'res', 'fps', 'hdr:12', 'source', 'codec:vp9.2', 'lang', 'proto'))
|
||||
|
||||
info = {
|
||||
|
||||
Reference in New Issue
Block a user