]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/tvn24.py
[ie/crunchyroll] Fix stream extraction (#10005)
[yt-dlp.git] / yt_dlp / extractor / tvn24.py
index de0fb506316814c8562de514daddc5f99165cf6f..5276813155b7e9cbe32bb526aa3817234008a267 100644 (file)
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
 from .common import InfoExtractor
 from ..utils import (
     int_or_none,
@@ -10,6 +7,7 @@
 
 
 class TVN24IE(InfoExtractor):
+    _WORKING = False
     _VALID_URL = r'https?://(?:(?:[^/]+)\.)?tvn24(?:bis)?\.pl/(?:[^/]+/)*(?P<id>[^/]+)'
     _TESTS = [{
         'url': 'http://www.tvn24.pl/wiadomosci-z-kraju,3/oredzie-artura-andrusa,702428.html',
@@ -73,7 +71,6 @@ def extract_json(attr, name, default=NO_DEFAULT, fatal=True):
                 'format_id': format_id,
                 'height': int_or_none(format_id.rstrip('p')),
             })
-        self._sort_formats(formats)
 
         description = self._og_search_description(webpage, default=None)
         thumbnail = self._og_search_thumbnail(