1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-09 16:53:14 +08:00

[WSJArticle] revert separate _extract_video() method

This commit is contained in:
John Hawkinson 2017-04-09 09:32:31 -04:00
parent fdf743bb55
commit 349b15f380

View File

@ -38,9 +38,7 @@ class WSJIE(InfoExtractor):
def _real_extract(self, url):
video_id = self._match_id(url)
return self._extract_video(video_id)
def _extract_video(self, video_id):
api_url = (
'http://video-api.wsj.com/api-video/find_all_videos.asp?'
'type=guid&count=1&query=%s&fields=type,hls,videoMP4List,'