mirror of
https://github.com/l1ving/youtube-dl
synced 2026-06-04 12:13:33 +08:00
[indavideo] title mandatory; backward compability
Fixed mandatory field title Added IndavideoEmbedIE due backward compability
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user