]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/picarto.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / picarto.py
index adf21fda87454a79a847d3fecd6dfc471b130b9d..36a062def385b3f60017dd2a2153e4d04509f115 100644 (file)
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
 from .common import InfoExtractor
 from ..utils import (
     ExtractorError,
@@ -67,7 +64,6 @@ def _real_extract(self, url):
                 formats.append({
                     'url': source_url,
                 })
-        self._sort_formats(formats)
 
         mature = metadata.get('adult')
         if mature is None:
@@ -117,7 +113,6 @@ def _real_extract(self, url):
         formats = self._extract_m3u8_formats(
             vod_info['vod'], video_id, 'mp4', entry_protocol='m3u8_native',
             m3u8_id='hls')
-        self._sort_formats(formats)
 
         return {
             'id': video_id,