1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 10:11:52 +00:00

[ir90tv] Optional fields should be non-fatal

This commit is contained in:
Yen Chi Hsuan 2015-07-25 18:48:00 +08:00
parent 7523647391
commit 2c7c721933

View file

@ -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,