Identify direct video links
Detect vtm.be and medialaancdn.be hosted mp4 videos Ex: http://www.gva.be/cnt/dmf20170105_02660060/nieuwe-vtm-programma-groeten-uit-groeit-uit-tot-nostalgische-hit
This commit is contained in:
parent
fb398c9d35
commit
e175715193
@ -170,6 +170,11 @@ class MediahuisIE(InfoExtractor):
|
||||
url_type = 'url_transparent'
|
||||
# return self.url_result(video_url, 'Medialaan')
|
||||
|
||||
# Source: flvpd.vtm.be/video.medialaancdn.be
|
||||
iframe_m = re.search(r'<script.+?[^>]+videoUrl:\'(.+?)\'', webpage)
|
||||
if iframe_m:
|
||||
video_url = (iframe_m.group(1))
|
||||
|
||||
info = {
|
||||
'url': video_url,
|
||||
'id': video_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user