From 187f491ad21d369f34da9e4982ac4b106dfc89ca Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Sat, 12 Jan 2013 18:45:50 +0100 Subject: [PATCH] [RBMA] Do not fail if thumbnail is empty --- youtube_dl/InfoExtractors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 946162d80..5fbca1c05 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -3758,7 +3758,7 @@ def _real_extract(self, url): 'location': data.get('country_of_origin'), 'uploader': data.get('host', {}).get('name'), 'uploader_id': data.get('host', {}).get('slug'), - 'thumbnail': data.get('image').get('large_url_2x'), + 'thumbnail': data.get('image', {}).get('large_url_2x'), 'duration': data.get('duration'), } return [info]