Browse Source

[ir90tv] Optional fields should be non-fatal

totalwebcasting
Yen Chi Hsuan 10 years ago
parent
commit
2c7c721933
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/ir90tv.py

+ 1
- 1
youtube_dl/extractor/ir90tv.py 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,


Loading…
Cancel
Save