mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-21 10:50:11 +09:00
[RTV SLO 4D] Improved URL regex
This commit is contained in:
parent
8e6eca6432
commit
2cf78de692
@ -10,7 +10,7 @@ from ..utils import (
|
|||||||
|
|
||||||
|
|
||||||
class RTVSLO4DIE(InfoExtractor):
|
class RTVSLO4DIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://(?:4d|www)\.rtvslo\.si/(?:arhiv/.+|embed|4d/arhiv)/(?P<id>\d+)'
|
_VALID_URL = r'https?://(?:4d\.rtvslo\.si/(?:arhiv/.+|embed)|www\.rtvslo\.si/(?:4d/arhiv|mmr/prispevek))/(?P<id>\d+)'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'https://4d.rtvslo.si/arhiv/seje-odbora-za-kmetijstvo-gozdarstvo-in-prehrano/174595438',
|
'url': 'https://4d.rtvslo.si/arhiv/seje-odbora-za-kmetijstvo-gozdarstvo-in-prehrano/174595438',
|
||||||
'md5': 'b87e5a65be2365f83eb0d24d44131d0f',
|
'md5': 'b87e5a65be2365f83eb0d24d44131d0f',
|
||||||
|
Loading…
Reference in New Issue
Block a user