From 81bd98a03faec5868e1aee8cfb8a8c01667b98cf Mon Sep 17 00:00:00 2001 From: Wong Yiu Hang Date: Thu, 25 Feb 2021 02:55:37 +0800 Subject: [PATCH] [Loom] Add fallback to mandatory attribute --- youtube_dl/extractor/loom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/loom.py b/youtube_dl/extractor/loom.py index 53137f5a5..76cf9d30e 100644 --- a/youtube_dl/extractor/loom.py +++ b/youtube_dl/extractor/loom.py @@ -109,7 +109,7 @@ class LoomIE(LoomBaseInfoIE): m3u8_formats[i]) return { - 'id': info.get('id'), + 'id': info.get('id') or video_id, 'title': info.get('name'), 'formats': formats, 'thumbnails': [