1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-10 12:13:21 +08:00

[WSJArticle] _search_regex not _html_* data-src attr

This commit is contained in:
John Hawkinson 2017-04-09 08:55:50 -04:00
parent e4ae478a0d
commit aa4f4ee753

View File

@ -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)