aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/minds.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/minds.py')
-rw-r--r--yt_dlp/extractor/minds.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/minds.py b/yt_dlp/extractor/minds.py
index 8079bbb39..2fb17920c 100644
--- a/yt_dlp/extractor/minds.py
+++ b/yt_dlp/extractor/minds.py
@@ -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(
@@ -92,7 +92,6 @@ class MindsIE(MindsBaseIE):
'height': int_or_none(source.get('size')),
'url': src,
})
- self._sort_formats(formats)
entity = video.get('entity') or entity
owner = entity.get('ownerObj') or {}