aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/huffpost.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/huffpost.py')
-rw-r--r--yt_dlp/extractor/huffpost.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/huffpost.py b/yt_dlp/extractor/huffpost.py
index 7286dbcd7..69fdc34ef 100644
--- a/yt_dlp/extractor/huffpost.py
+++ b/yt_dlp/extractor/huffpost.py
@@ -17,6 +17,7 @@ class HuffPostIE(InfoExtractor):
HPLEmbedPlayer/\?segmentId=
)
(?P<id>[0-9a-f]+)'''
+ _EMBED_REGEX = [r'<iframe[^>]+?src=(["\'])(?P<url>https?://embed\.live\.huffingtonpost\.com/.+?)\1']
_TEST = {
'url': 'http://live.huffingtonpost.com/r/segment/legalese-it/52dd3e4b02a7602131000677',
@@ -78,8 +79,6 @@ class HuffPostIE(InfoExtractor):
'vcodec': 'none' if key.startswith('audio/') else None,
})
- self._sort_formats(formats)
-
return {
'id': video_id,
'title': video_title,