1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[izlesene] Prepend scheme to thumbnails

This commit is contained in:
Naglis Jonaitis 2014-10-01 21:11:38 +03:00
parent e80f40e5ca
commit 1414df5ce2

View File

@ -63,7 +63,8 @@ def _real_extract(self, url):
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*'([^']+)';",