mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[ir90tv] Optional fields should be non-fatal
This commit is contained in:
parent
7523647391
commit
2c7c721933
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ def _real_extract(self, url):
|
|||
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…
Reference in a new issue