Browse Source

[sportbox:embed] Relax thumbnail

Sergey M․ 10 years ago
parent
commit
ef28a6cb26
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/sportbox.py

+ 1 - 1
youtube_dl/extractor/sportbox.py

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