[Loom] Add url_or_none back

This commit is contained in:
Wong Yiu Hang 2021-02-25 04:11:18 +08:00
parent 1b2651ed30
commit e218b26725

View File

@ -189,6 +189,6 @@ class LoomFolderIE(LoomBaseInfoIE):
for i in range(len(folder_info['entries'])): for i in range(len(folder_info['entries'])):
video_id = folder_info['entries'][i] video_id = folder_info['entries'][i]
folder_info['entries'][i] = self.url_result(self._BASE_URL + 'share/' + video_id, 'Loom', video_id) folder_info['entries'][i] = self.url_result(url_or_none(self._BASE_URL + 'share/' + video_id), 'Loom', video_id)
return folder_info return folder_info