diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-04-01 13:58:33 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-04-01 13:59:22 +0530 |
commit | cce889b900b3fabc765a249a78c6836da6d657d6 (patch) | |
tree | f58f5ab835c3ee73e38df5adf12bae5df9db43cf /yt_dlp/extractor/sbs.py | |
parent | a6ae61a4c28b28c10de5ff359bff81ce7b4547e8 (diff) | |
download | hypervideo-pre-cce889b900b3fabc765a249a78c6836da6d657d6.tar.lz hypervideo-pre-cce889b900b3fabc765a249a78c6836da6d657d6.tar.xz hypervideo-pre-cce889b900b3fabc765a249a78c6836da6d657d6.zip |
Update to ytdl v2021-04-01
https://github.com/ytdl-org/youtube-dl/commit/14f29f087e6097feb46bdb84878924bc410a57eb
Closes #205
Diffstat (limited to 'yt_dlp/extractor/sbs.py')
-rw-r--r-- | yt_dlp/extractor/sbs.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/extractor/sbs.py b/yt_dlp/extractor/sbs.py index f722528cd..0a806ee4e 100644 --- a/yt_dlp/extractor/sbs.py +++ b/yt_dlp/extractor/sbs.py @@ -10,7 +10,7 @@ from ..utils import ( class SBSIE(InfoExtractor): IE_DESC = 'sbs.com.au' - _VALID_URL = r'https?://(?:www\.)?sbs\.com\.au/(?:ondemand(?:/video/(?:single/)?|.*?\bplay=)|news/(?:embeds/)?video/)(?P<id>[0-9]+)' + _VALID_URL = r'https?://(?:www\.)?sbs\.com\.au/(?:ondemand(?:/video/(?:single/)?|.*?\bplay=|/watch/)|news/(?:embeds/)?video/)(?P<id>[0-9]+)' _TESTS = [{ # Original URL is handled by the generic IE which finds the iframe: @@ -43,6 +43,9 @@ class SBSIE(InfoExtractor): }, { 'url': 'https://www.sbs.com.au/news/embeds/video/1840778819866', 'only_matching': True, + }, { + 'url': 'https://www.sbs.com.au/ondemand/watch/1698704451971', + 'only_matching': True, }] def _real_extract(self, url): |