From 762cc052d4934aef8edb07ea4ab746d6d325b601 Mon Sep 17 00:00:00 2001 From: Jeroen Meulemeester Date: Mon, 1 May 2017 15:44:45 +0200 Subject: [PATCH] Use exact match for 'dot' char in regex used to extract vrt.be video_url --- youtube_dl/extractor/mediahuis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/mediahuis.py b/youtube_dl/extractor/mediahuis.py index d0046bb5b..e3e280402 100644 --- a/youtube_dl/extractor/mediahuis.py +++ b/youtube_dl/extractor/mediahuis.py @@ -176,7 +176,7 @@ class MediahuisIE(InfoExtractor): iframe_m = re.search(r']+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']+src="(.+?vmma\.be.*?)"', webpage) if iframe_m: