Explorar o código

[eagleplatform] Use http scheme for thumbnail

Sergey M․ %!s(int64=10) %!d(string=hai) anos
pai
achega
2f962d0a91
Modificáronse 1 ficheiros con 1 adicións e 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'))