Quellcode durchsuchen

[openload] Make thumbnail optional

Sergey M․ vor 9 Jahren
Ursprung
Commit
c83a352227
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      youtube_dl/extractor/openload.py

+ 1 - 1
youtube_dl/extractor/openload.py

@@ -122,6 +122,6 @@ class OpenloadIE(InfoExtractor):
             'id': video_id,
             'id': video_id,
             'title': title,
             'title': title,
             'ext': ext,
             'ext': ext,
-            'thumbnail': self._og_search_thumbnail(webpage),
+            'thumbnail': self._og_search_thumbnail(webpage, default=None),
             'url': video_url,
             'url': video_url,
         }
         }