diff options
author | felix <[email protected]> | 2015-04-06 10:12:43 +0200 |
---|---|---|
committer | felix <[email protected]> | 2015-04-06 10:12:43 +0200 |
commit | 6e53c91608d1c43a9fe1614f13a15db74e877a91 (patch) | |
tree | 7a9e308fba7f2dc4e12d1d01c17fe7f88820b51f /youtube_dl/extractor/crooksandliars.py | |
parent | d2272fcf6e2796583b516f4786733577459dec43 (diff) | |
download | youtube-dl-6e53c91608d1c43a9fe1614f13a15db74e877a91.tar.gz youtube-dl-6e53c91608d1c43a9fe1614f13a15db74e877a91.zip |
[crooksandliars] resolve protocol-relative URLs
Diffstat (limited to 'youtube_dl/extractor/crooksandliars.py')
-rw-r--r-- | youtube_dl/extractor/crooksandliars.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/crooksandliars.py b/youtube_dl/extractor/crooksandliars.py index afccca354..cee0603f4 100644 --- a/youtube_dl/extractor/crooksandliars.py +++ b/youtube_dl/extractor/crooksandliars.py @@ -18,7 +18,7 @@ class CrooksAndLiarsIE(InfoExtractor): 'title': "Fox & Friends Says Protecting Atheists From Discrimination Is Anti-Christian!", 'description': "Fox News, Fox & Friends Weekend, April 4, 2015. Read more... http://crooksandliars.com/2015/04/fox-friends-says-protecting-atheists", 'timestamp': 1428207000, - 'thumbnail': '//crooksandliars.com/files/mediaposters/2015/04/31235.jpg?ts=1428207050', + 'thumbnail': 'https://crooksandliars.com/files/mediaposters/2015/04/31235.jpg?ts=1428207050', 'uploader': "Heather", } }] @@ -46,7 +46,7 @@ class CrooksAndLiarsIE(InfoExtractor): 'uploader': manifest['author'], 'title': manifest['title'], 'description': manifest['description'], - 'thumbnail': manifest['poster'], + 'thumbnail': self._proto_relative_url(manifest['poster']), 'duration': manifest['duration'], 'timestamp': int(manifest['created']), 'formats': formats, |