소스 검색

[sportbox:embed] Relax thumbnail

Sergey M․ 10 년 전
부모
커밋
ef28a6cb26
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,