diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2015-07-25 18:48:00 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2015-07-25 18:48:00 +0800 |
commit | 2c7c721933e53ece49bee0140d2dad9a8219d6e4 (patch) | |
tree | 8992cf9f37d0f3ebdb76e1448d7d630c96a9ff6e | |
parent | 7523647391969f8d747ba0fc178592f7f3d5e453 (diff) |
[ir90tv] Optional fields should be non-fatal
-rw-r--r-- | youtube_dl/extractor/ir90tv.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'<source[^>]+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, |