]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/gopro.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / gopro.py
index 10cc1aec1db3b25d14d3285861161e58c018c16e..ae965374cf59d069bbbcf4b3dfa924dcfcb19ddf 100644 (file)
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
 from .common import InfoExtractor
 from ..utils import (
     int_or_none,
@@ -81,8 +78,6 @@ def _real_extract(self, url):
                 'height': int_or_none(fmt.get('height')),
             })
 
-        self._sort_formats(formats)
-
         title = str_or_none(
             try_get(metadata, lambda x: x['collection']['title'])
             or self._html_search_meta(['og:title', 'twitter:title'], webpage)