[imdb] Fix extraction
authorSergey M․ <dstftw@gmail.com>
Sat, 20 Jun 2015 22:17:54 +0000 (04:17 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 20 Jun 2015 22:17:54 +0000 (04:17 +0600)
youtube_dl/extractor/imdb.py

index f29df36b5bf6bd7e732ad84cbfd7d3eeb412f5ff..4bb574cf37df2421721b088ded37a3fc66c8c2ea 100644 (file)
@@ -46,7 +46,7 @@ class ImdbIE(InfoExtractor):
             format_info = info['videoPlayerObject']['video']
             formats.append({
                 'format_id': f_id,
-                'url': format_info['url'],
+                'url': format_info['videoInfoList'][0]['videoUrl'],
             })
 
         return {