1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-23 15:56:49 +01:00

[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'])):
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