1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 08:47:41 +00: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