[extractor/sbs] Improve _VALID_URL
(#5193)
Closes #5045 Authored by: bashonly
This commit is contained in:
parent
ade1fa70cb
commit
226c0f3a54
1 changed files with 7 additions and 0 deletions
|
@ -12,6 +12,7 @@ class SBSIE(InfoExtractor):
|
||||||
ondemand(?:
|
ondemand(?:
|
||||||
/video/(?:single/)?|
|
/video/(?:single/)?|
|
||||||
/movie/[^/]+/|
|
/movie/[^/]+/|
|
||||||
|
/(?:tv|news)-series/(?:[^/]+/){3}|
|
||||||
.*?\bplay=|/watch/
|
.*?\bplay=|/watch/
|
||||||
)|news/(?:embeds/)?video/
|
)|news/(?:embeds/)?video/
|
||||||
)(?P<id>[0-9]+)'''
|
)(?P<id>[0-9]+)'''
|
||||||
|
@ -63,6 +64,12 @@ class SBSIE(InfoExtractor):
|
||||||
'note': 'Live stream',
|
'note': 'Live stream',
|
||||||
'url': 'https://www.sbs.com.au/ondemand/video/1726824003663/sbs-24x7-live-stream-nsw',
|
'url': 'https://www.sbs.com.au/ondemand/video/1726824003663/sbs-24x7-live-stream-nsw',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.sbs.com.au/ondemand/news-series/dateline/dateline-2022/dateline-s2022-ep26/2072245827515',
|
||||||
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.sbs.com.au/ondemand/tv-series/the-handmaids-tale/season-5/the-handmaids-tale-s5-ep1/2065631811776',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
|
Loading…
Reference in a new issue