[tv4] Relax _VALID_URL (closes #14206)

This commit is contained in:
Sergey M․ 2017-09-14 23:50:19 +07:00
parent e7c3e33456
commit 319fc70676
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -18,7 +18,7 @@ class TV4IE(InfoExtractor):
tv4\.se/(?:[^/]+)/klipp/(?:.*)-| tv4\.se/(?:[^/]+)/klipp/(?:.*)-|
tv4play\.se/ tv4play\.se/
(?: (?:
(?:program|barn)/(?:[^\?]+)\?video_id=| (?:program|barn)/(?:[^/]+/|(?:[^\?]+)\?video_id=)|
iframe/video/| iframe/video/|
film/| film/|
sport/| sport/|
@ -63,6 +63,10 @@ class TV4IE(InfoExtractor):
'url': 'http://www.tv4play.se/barn/looney-tunes?video_id=3062412', 'url': 'http://www.tv4play.se/barn/looney-tunes?video_id=3062412',
'only_matching': True, 'only_matching': True,
}, },
{
'url': ' http://www.tv4play.se/program/farang/3922081',
'only_matching': True,
}
] ]
def _real_extract(self, url): def _real_extract(self, url):