]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[eagleplatform] Use http scheme for thumbnail
authorSergey M․ <dstftw@gmail.com>
Sat, 26 Sep 2015 19:17:44 +0000 (01:17 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 26 Sep 2015 19:17:44 +0000 (01:17 +0600)
youtube_dl/extractor/eagleplatform.py

index ee24242a8373d1addaa0f19a086e553a6665e90e..e529b9b9600583aadb4bb3e21f7ae61cee0cd4b8 100644 (file)
@@ -73,7 +73,7 @@ class EaglePlatformIE(InfoExtractor):
 
         title = media['title']
         description = media.get('description')
-        thumbnail = self._proto_relative_url(media.get('snapshot'))
+        thumbnail = self._proto_relative_url(media.get('snapshot'), 'http:')
         duration = int_or_none(media.get('duration'))
         view_count = int_or_none(media.get('views'))