2
0
Эх сурвалжийг харах

[sportbox:embed] Relax thumbnail

Sergey M․ 10 жил өмнө
parent
commit
ef28a6cb26

+ 1 - 1
youtube_dl/extractor/sportbox.py

@@ -113,7 +113,7 @@ class SportBoxEmbedIE(InfoExtractor):
 
 
         thumbnail = self._search_regex(
         thumbnail = self._search_regex(
             r'sportboxPlayer\.jwplayer_common_params\.image\s*=\s*"([^"]+)"',
             r'sportboxPlayer\.jwplayer_common_params\.image\s*=\s*"([^"]+)"',
-            webpage, 'thumbnail', fatal=False)
+            webpage, 'thumbnail', default=None)
 
 
         return {
         return {
             'id': video_id,
             'id': video_id,