1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 16:45:36 +08:00

[indavideo] title mandatory; backward compability

Fixed mandatory field title
Added IndavideoEmbedIE due backward compability
This commit is contained in:
Bagira 2017-07-06 15:00:36 +02:00
parent 0bfe6b1405
commit 9f5bd79a0f

View File

@ -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);