[openload] Make thumbnail optional
authorSergey M․ <dstftw@gmail.com>
Sun, 24 Apr 2016 18:26:06 +0000 (00:26 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 24 Apr 2016 18:26:06 +0000 (00:26 +0600)
youtube_dl/extractor/openload.py

index 9704f2e9ddc3ac2c496bcedec2519b70a18cd55e..456561bcc6bcc41c5d4ae9726693a7d1b2531224 100644 (file)
@@ -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,
         }