Explorar el Código

[eagleplatform] Use http scheme for thumbnail

Sergey M․ hace 10 años
padre
commit
2f962d0a91
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      youtube_dl/extractor/eagleplatform.py

+ 1 - 1
youtube_dl/extractor/eagleplatform.py

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