From aa4f4ee753a183a9c01904aff28c98999f77258c Mon Sep 17 00:00:00 2001 From: John Hawkinson Date: Sun, 9 Apr 2017 08:55:50 -0400 Subject: [PATCH] [WSJArticle] _search_regex not _html_* data-src attr --- youtube_dl/extractor/wsj.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/wsj.py b/youtube_dl/extractor/wsj.py index cd03bdc6d..dfbad933e 100644 --- a/youtube_dl/extractor/wsj.py +++ b/youtube_dl/extractor/wsj.py @@ -107,6 +107,6 @@ class WSJArticleIE(WSJIE): def _real_extract(self, url): article_id = self._match_id(url) webpage = self._download_webpage(url, article_id) - video_id = self._html_search_regex(r'data-src=["\']([A-Z0-9\-]+)', - webpage, 'video id') + video_id = self._search_regex(r'data-src=["\']([A-Z0-9\-]+)', + webpage, 'video id') return self._extract_video(video_id)