[RTV SLO 4D] Improved URL regex

This commit is contained in:
Miha Frangež 2021-02-11 13:51:54 +01:00
parent 8e6eca6432
commit 2cf78de692

View File

@ -10,7 +10,7 @@ from ..utils import (
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 = {
'url': 'https://4d.rtvslo.si/arhiv/seje-odbora-za-kmetijstvo-gozdarstvo-in-prehrano/174595438',
'md5': 'b87e5a65be2365f83eb0d24d44131d0f',