mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-18 19:28:31 +00:00
[ie/RaiSudtirol] Support alternative domain (#13718)
Authored by: barsnick
This commit is contained in:
parent
b4b4486eff
commit
85c3fa1925
@ -765,7 +765,7 @@ class RaiCulturaIE(RaiNewsIE): # XXX: Do not subclass from concrete IE
|
|||||||
|
|
||||||
|
|
||||||
class RaiSudtirolIE(RaiBaseIE):
|
class RaiSudtirolIE(RaiBaseIE):
|
||||||
_VALID_URL = r'https?://raisudtirol\.rai\.it/.+media=(?P<id>\w+)'
|
_VALID_URL = r'https?://rai(?:bz|sudtirol)\.rai\.it/.+media=(?P<id>\w+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
# mp4 file
|
# mp4 file
|
||||||
'url': 'https://raisudtirol.rai.it/la/index.php?media=Ptv1619729460',
|
'url': 'https://raisudtirol.rai.it/la/index.php?media=Ptv1619729460',
|
||||||
@ -791,6 +791,9 @@ class RaiSudtirolIE(RaiBaseIE):
|
|||||||
'formats': 'count:6',
|
'formats': 'count:6',
|
||||||
},
|
},
|
||||||
'params': {'skip_download': True},
|
'params': {'skip_download': True},
|
||||||
|
}, {
|
||||||
|
'url': 'https://raibz.rai.it/de/index.php?media=Ptv1751660400',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
Loading…
Reference in New Issue
Block a user