[izlesene] Prepend scheme to thumbnails
authorNaglis Jonaitis <njonaitis@gmail.com>
Wed, 1 Oct 2014 18:11:38 +0000 (21:11 +0300)
committerNaglis Jonaitis <njonaitis@gmail.com>
Wed, 1 Oct 2014 18:11:38 +0000 (21:11 +0300)
youtube_dl/extractor/izlesene.py

index a83dd249f6cd5694884158de6471802df6fe2d01..07ef682ee38052088d07f3f232c245ded77b2193 100644 (file)
@@ -63,7 +63,8 @@ class IzleseneIE(InfoExtractor):
 
         title = self._og_search_title(webpage)
         description = self._og_search_description(webpage)
-        thumbnail = self._og_search_thumbnail(webpage)
+        thumbnail = self._proto_relative_url(
+            self._og_search_thumbnail(webpage), scheme='http:')
 
         uploader = self._html_search_regex(
             r"adduserUsername\s*=\s*'([^']+)';",