aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/sbs.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/sbs.py')
-rw-r--r--yt_dlp/extractor/sbs.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/yt_dlp/extractor/sbs.py b/yt_dlp/extractor/sbs.py
index 711524406..6bb499930 100644
--- a/yt_dlp/extractor/sbs.py
+++ b/yt_dlp/extractor/sbs.py
@@ -15,6 +15,12 @@ class SBSIE(InfoExtractor):
.*?\bplay=|/watch/
)|news/(?:embeds/)?video/
)(?P<id>[0-9]+)'''
+ _EMBED_REGEX = [r'''(?x)]
+ (?:
+ <meta\s+property="og:video"\s+content=|
+ <iframe[^>]+?src=
+ )
+ (["\'])(?P<url>https?://(?:www\.)?sbs\.com\.au/ondemand/video/.+?)\1''']
_TESTS = [{
# Original URL is handled by the generic IE which finds the iframe: