From dd9327c782d65eaf9f3822bc3bdfabfb28785ed0 Mon Sep 17 00:00:00 2001 From: mrBliss Date: Thu, 11 May 2017 11:02:36 +0200 Subject: [PATCH] [vier] Restore video_id extraction from the webpage --- youtube_dl/extractor/vier.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/youtube_dl/extractor/vier.py b/youtube_dl/extractor/vier.py index 071bdd394..26a160d91 100644 --- a/youtube_dl/extractor/vier.py +++ b/youtube_dl/extractor/vier.py @@ -122,6 +122,9 @@ class VierIE(InfoExtractor): 'http://www.%s.be/video/v3/embed/%s' % (site, video_id), display_id) + video_id = self._search_regex( + [r'data-nid="(\d+)"', r'"nid"\s*:\s*"(\d+)"'], + webpage, 'video id') application = self._search_regex( [r'data-application="([^"]+)"', r'"application"\s*:\s*"([^"]+)"'], webpage, 'application', default=site + '_vod')