mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-07 12:00:09 +09:00
Add fallbacks for id and title, just in case.
This commit is contained in:
parent
d900bd96b4
commit
10273fbd22
@ -49,8 +49,10 @@ class Pac12IE(InfoExtractor):
|
||||
return self.url_result(vod_url)
|
||||
|
||||
return {
|
||||
'id': cv.get('id'),
|
||||
'title': cv.get('title'),
|
||||
'id': cv.get('id') or video_id,
|
||||
'title': (cv.get('title')
|
||||
or self._html_search_regex(r'<title>(.+?)</title>',
|
||||
webpage, 'title')),
|
||||
'description': cv.get('description'),
|
||||
'url': manifest_url,
|
||||
'ext': 'mp4',
|
||||
|
Loading…
Reference in New Issue
Block a user