]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[sportbox:embed] Relax thumbnail
authorSergey M․ <dstftw@gmail.com>
Fri, 15 May 2015 17:09:10 +0000 (23:09 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 15 May 2015 17:09:10 +0000 (23:09 +0600)
youtube_dl/extractor/sportbox.py

index a869a1b25aae6ef50208c4082b87353cf025591c..8686f9d11fa3178eefe3eb71fe5a1413e729beeb 100644 (file)
@@ -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,