diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-04-25 00:26:06 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-04-25 00:26:06 +0600 |
commit | c83a352227401d7ca7eac045b58043ed576c0cdc (patch) | |
tree | 8ac5e66563a7b7c7f84d46f7a6ba1a057052c221 /youtube_dl/extractor | |
parent | e9063b5de9a1118842185768f5e615b76ec8692c (diff) | |
download | youtube-dl-c83a352227401d7ca7eac045b58043ed576c0cdc.zip youtube-dl-c83a352227401d7ca7eac045b58043ed576c0cdc.tar.gz youtube-dl-c83a352227401d7ca7eac045b58043ed576c0cdc.tar.bz2 |
[openload] Make thumbnail optional
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/openload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/openload.py b/youtube_dl/extractor/openload.py index 9704f2e..456561b 100644 --- a/youtube_dl/extractor/openload.py +++ b/youtube_dl/extractor/openload.py @@ -122,6 +122,6 @@ class OpenloadIE(InfoExtractor): 'id': video_id, 'title': title, 'ext': ext, - 'thumbnail': self._og_search_thumbnail(webpage), + 'thumbnail': self._og_search_thumbnail(webpage, default=None), 'url': video_url, } |