]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/planetmarathi.py
[extractor] Deprecate `_sort_formats`
[yt-dlp.git] / yt_dlp / extractor / planetmarathi.py
index 07ac15b540f3c243c2c19e1e9f15595109b9d56a..25753fe7eea61232a5d90018355b4bbd0b87f8a9 100644 (file)
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
 from .common import InfoExtractor
 from ..utils import (
     try_get,
@@ -60,7 +57,6 @@ def _real_extract(self, url):
                 asset_title = id.replace('-', ' ')
             asset_id = f'{asset["sk"]}_{id}'.replace('#', '-')
             formats, subtitles = self._extract_m3u8_formats_and_subtitles(asset['mediaAssetURL'], asset_id)
-            self._sort_formats(formats)
             entries.append({
                 'id': asset_id,
                 'title': asset_title,