From: Yen Chi Hsuan Date: Sat, 25 Jul 2015 10:48:00 +0000 (+0800) Subject: [ir90tv] Optional fields should be non-fatal X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=2c7c721933e53ece49bee0140d2dad9a8219d6e4;p=youtube-dl.git [ir90tv] Optional fields should be non-fatal --- diff --git a/youtube_dl/extractor/ir90tv.py b/youtube_dl/extractor/ir90tv.py index 6418d6178..214bcd5b5 100644 --- a/youtube_dl/extractor/ir90tv.py +++ b/youtube_dl/extractor/ir90tv.py @@ -31,7 +31,7 @@ class Ir90TvIE(InfoExtractor): video_url = self._search_regex( r']+src="([^"]+)"', webpage, 'video url') - thumbnail = self._search_regex(r'poster="([^"]+)"', webpage, 'thumbnail url') + thumbnail = self._search_regex(r'poster="([^"]+)"', webpage, 'thumbnail url', fatal=False) return { 'url': video_url,