1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-26 17:45:35 +08:00

Use exact match for 'dot' char in regex used to extract vrt.be video_url

This commit is contained in:
Jeroen Meulemeester 2017-05-01 15:44:45 +02:00
parent 9b91681a1a
commit 762cc052d4

View File

@ -176,7 +176,7 @@ class MediahuisIE(InfoExtractor):
iframe_m = re.search(r'<iframe[^>]+src="(.+?vrt\.be.*?)"', webpage)
if iframe_m:
webpage = self._download_webpage(iframe_m.group(1), "vrt-iframe")
video_url = self._search_regex(r'sources.pdl\s*=\s*"(.*?)";', webpage, 'vrt-video')
video_url = self._search_regex(r'sources\.pdl\s*=\s*"(.*?)";', webpage, 'vrt-video')
iframe_m = re.search(r'<iframe[^>]+src="(.+?vmma\.be.*?)"', webpage)
if iframe_m: