mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-04 12:53:13 +08:00
[OdaTV] Add new extractor
This commit is contained in:
parent
0329337f8c
commit
f2aa34aec9
@ -48,7 +48,6 @@ class OdaTVIE(InfoExtractor):
|
|||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
print(url)
|
|
||||||
if 'NO VIDEO!' in webpage:
|
if 'NO VIDEO!' in webpage:
|
||||||
raise ExtractorError('Video %s does not exist' % video_id, expected=True)
|
raise ExtractorError('Video %s does not exist' % video_id, expected=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user