From 7c4991cea794da4ddbcede8864e88b7e9beeaf6c Mon Sep 17 00:00:00 2001 From: sherl Date: Tue, 16 Sep 2025 23:36:53 +0200 Subject: [PATCH] fix: fix for infinite recursion/deadlock for specific channels this applies mainly for meta channels like UC4R8DWoMoI7CAwX8_LjQHig, which ythdd can't parse and thus doesn't support --- ythdd_inv_tl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ythdd_inv_tl.py b/ythdd_inv_tl.py index 8ccf550..ead0ef1 100644 --- a/ythdd_inv_tl.py +++ b/ythdd_inv_tl.py @@ -771,7 +771,7 @@ def channels(data, req, only_json: bool = False): verified = False # to be replaced later with ythdd_extractor.isVerified(...) author_name = safeTraverse(channel_meta, ["title"], default="Unknown Channel") - author_ucid = safeTraverse(channel_meta, ["externalId"], default="UNKNOWNCHANNELID") + author_ucid = safeTraverse(channel_meta, ["externalId"], default=data[3]) # prevent recursion with fallback to provided ucid ythdd_globals.general_cache["continuations"]["channels"][author_ucid] = { "avatar": avatar,