mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-24 21:11:46 +08:00
[indavideo] title mandatory; backward compability
Fixed mandatory field title Added IndavideoEmbedIE due backward compability
This commit is contained in:
parent
0bfe6b1405
commit
9f5bd79a0f
@ -75,7 +75,7 @@ class IndavideoIE(InfoExtractor):
|
||||
'http://amfphp.indavideo.hu/SYm0json.php/player.playerHandler.getVideoData/%s' % video_id,
|
||||
video_id)['data']
|
||||
|
||||
title = video.get('title')
|
||||
title = video['title']
|
||||
|
||||
filesh = video.get('filesh')
|
||||
|
||||
@ -134,3 +134,10 @@ class IndavideoIE(InfoExtractor):
|
||||
'tags': tags,
|
||||
'formats': formats,
|
||||
}
|
||||
|
||||
class IndavideoEmbedIE(InfoExtractor):
|
||||
_VALID_URL = IndavideoIE._VALID_URL;
|
||||
_TESTS = IndavideoIE._TESTS;
|
||||
|
||||
def _real_extract(self, url):
|
||||
return IndavideoIE._real_extract(self, url);
|
||||
|
Loading…
Reference in New Issue
Block a user