]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/cellebrite.py
[ie/youtube] Suppress "Unavailable videos are hidden" warning (#10159)
[yt-dlp.git] / yt_dlp / extractor / cellebrite.py
index 64a30d7e317378a78ce5d40b92ab0a32673dcb82..e90365a8beb7d14594b32551915415cedf7547a2 100644 (file)
@@ -14,7 +14,7 @@ class CellebriteIE(InfoExtractor):
             'title': 'Ask the Expert: Chat Capture - Collect Data from Android Devices in Cellebrite UFED',
             'duration': 455,
             'tags': [],
-        }
+        },
     }, {
         'url': 'https://cellebrite.com/en/how-to-lawfully-collect-the-maximum-amount-of-data-from-android-devices/',
         'info_dict': {
@@ -25,7 +25,7 @@ class CellebriteIE(InfoExtractor):
             'description': 'md5:e9a3d124c7287b0b07bad2547061cacf',
             'thumbnail': 'https://cellebrite.com/wp-content/uploads/2022/07/How-to-Lawfully-Collect-the-Maximum-Amount-of-Data-From-Android-Devices.png',
             'title': 'Android Extractions Explained',
-        }
+        },
     }]
 
     def _get_formats_and_subtitles(self, json_data, display_id):
@@ -50,7 +50,6 @@ def _real_extract(self, url):
             f'https://play.vidyard.com/player/{player_uuid}.json', display_id)['payload']['chapters'][0]
 
         formats, subtitles = self._get_formats_and_subtitles(json_data['sources'], display_id)
-        self._sort_formats(formats)
         return {
             'id': str(json_data['videoId']),
             'title': json_data.get('name') or self._og_search_title(webpage),