mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-10 12:03:10 +08:00
[WSJArticle] revert separate _extract_video() method
This commit is contained in:
parent
fdf743bb55
commit
349b15f380
@ -38,9 +38,7 @@ class WSJIE(InfoExtractor):
|
|||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
return self._extract_video(video_id)
|
|
||||||
|
|
||||||
def _extract_video(self, video_id):
|
|
||||||
api_url = (
|
api_url = (
|
||||||
'http://video-api.wsj.com/api-video/find_all_videos.asp?'
|
'http://video-api.wsj.com/api-video/find_all_videos.asp?'
|
||||||
'type=guid&count=1&query=%s&fields=type,hls,videoMP4List,'
|
'type=guid&count=1&query=%s&fields=type,hls,videoMP4List,'
|
||||||
|
Loading…
Reference in New Issue
Block a user