[Loom] Add fallback to mandatory attribute

This commit is contained in:
Wong Yiu Hang 2021-02-25 02:55:37 +08:00
parent 29c4168cec
commit 81bd98a03f

View File

@ -109,7 +109,7 @@ class LoomIE(LoomBaseInfoIE):
m3u8_formats[i]) m3u8_formats[i])
return { return {
'id': info.get('id'), 'id': info.get('id') or video_id,
'title': info.get('name'), 'title': info.get('name'),
'formats': formats, 'formats': formats,
'thumbnails': [ 'thumbnails': [