From 06051dd127fd9805442ee10b569f36a611dbbc8e Mon Sep 17 00:00:00 2001 From: Astounds Date: Tue, 31 Mar 2026 21:38:51 -0500 Subject: fix: support YouTube 2024+ data formats for playlists, podcasts and channels - Add PODCAST content type support in lockupViewModel extraction - Extract thumbnails and episode count from thumbnail overlay badges - Migrate playlist page fetching from pbj=1 to innertube API (youtubei/v1/browse) - Support new pageHeaderRenderer format in playlist metadata extraction - Fix subscriber count extraction when YouTube returns handle instead of count - Hide "None subscribers" in template when data is unavailable --- youtube/templates/common_elements.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'youtube/templates') diff --git a/youtube/templates/common_elements.html b/youtube/templates/common_elements.html index 5b72063..1b4b08c 100644 --- a/youtube/templates/common_elements.html +++ b/youtube/templates/common_elements.html @@ -58,7 +58,9 @@
{% if info['type'] == 'channel' %} -
{{ info['approx_subscriber_count'] }} subscribers
+ {% if info.get('approx_subscriber_count') %} +
{{ info['approx_subscriber_count'] }} subscribers
+ {% endif %}
{{ info['video_count']|commatize }} videos
{% else %} {% if info.get('time_published') %} -- cgit v1.2.3