From cd502aa51728e2bffb77cd218bf790eccd026a8d Mon Sep 17 00:00:00 2001 From: Cory Marshall Date: Thu, 11 Jul 2024 00:59:03 -0300 Subject: [PATCH] Return blank album author ID when it doesn't exist. (#615) * Return blank album author ID when it doesn't exist. * Revert "Return blank album author ID when it doesn't exist." This reverts commit ccc5cf93ab4e28fc688db93a0066104b1c4e9e3e. * Return blank album author ID when it doesn't exist. --- ytmusicapi/parsers/podcasts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytmusicapi/parsers/podcasts.py b/ytmusicapi/parsers/podcasts.py index b782b80..ca5605e 100644 --- a/ytmusicapi/parsers/podcasts.py +++ b/ytmusicapi/parsers/podcasts.py @@ -64,7 +64,7 @@ def parse_base_header(header: Dict) -> Dict: return { "author": { "name": nav(strapline, [*RUN_TEXT]), - "id": nav(strapline, ["runs", 0, *NAVIGATION_BROWSE_ID]), + "id": nav(strapline, ["runs", 0, *NAVIGATION_BROWSE_ID], True), }, "title": nav(header, TITLE_TEXT), }