]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/newspicks.py
[ie/orf:on] Improve extraction (#9677)
[yt-dlp.git] / yt_dlp / extractor / newspicks.py
index a368ce4e021539cf897a57d3227cb20e6cee59fb..4a1cb0a73596c0d0084a0eba7cf8d4a83975f6a7 100644 (file)
@@ -5,7 +5,7 @@
 
 
 class NewsPicksIE(InfoExtractor):
-    _VALID_URL = r'https://newspicks\.com/movie-series/(?P<channel_id>\d+)\?movieId=(?P<id>\d+)'
+    _VALID_URL = r'https?://newspicks\.com/movie-series/(?P<channel_id>\d+)\?movieId=(?P<id>\d+)'
 
     _TESTS = [{
         'url': 'https://newspicks.com/movie-series/11?movieId=1813',
@@ -29,7 +29,6 @@ def _real_extract(self, url):
         if not entries:
             raise ExtractorError('No HTML5 media elements found')
         info = entries[0]
-        self._sort_formats(info['formats'])
 
         title = self._html_search_meta('og:title', webpage, fatal=False)
         description = self._html_search_meta(