]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/rule34video.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / rule34video.py
index a602a9f335f4dd6db6a5cf2a5459e7323a0715cf..9d15f4d214d29f96fe8188a7b123c61a381f8f3e 100644 (file)
@@ -1,5 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
 import re
 
 from ..utils import parse_duration
@@ -53,8 +51,6 @@ def _real_extract(self, url):
         thumbnail = self._html_search_regex(r'preview_url:\s+\'([^\']+)\'', webpage, 'thumbnail', default=None)
         duration = self._html_search_regex(r'"icon-clock"></i>\s+<span>((?:\d+:?)+)', webpage, 'duration', default=None)
 
-        self._sort_formats(formats)
-
         return {
             'id': video_id,
             'formats': formats,