1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-23 01:08:10 +00:00

[Loom] Use url_result instead

This commit is contained in:
Wong Yiu Hang 2021-02-25 03:46:55 +08:00
parent 70b804526c
commit 1b2651ed30

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] = LoomIE(self._downloader)._real_extract(url_or_none(self._BASE_URL + 'share/' + video_id)) folder_info['entries'][i] = self.url_result(self._BASE_URL + 'share/' + video_id, 'Loom', video_id)
return folder_info return folder_info