mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-14 09:16:32 +00:00
[tv4] Relax _VALID_URL (closes #14206)
This commit is contained in:
parent
e7c3e33456
commit
319fc70676
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user