From 39425f994a8b61b7798d7659f17d6c95ab1623d4 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Sun, 17 Jan 2021 14:56:17 +1300 Subject: [PATCH] Fix subscriber count extraction --- extractors/channel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extractors/channel.py b/extractors/channel.py index 8468e93..787a2ec 100644 --- a/extractors/channel.py +++ b/extractors/channel.py @@ -33,8 +33,8 @@ def extract_channel(ucid): author = channel_metadata["title"] author_id = channel_metadata["externalId"] author_url = channel_metadata["channelUrl"] - - subscriber_count = combine_runs(header["subscriberCountText"]) if "subscribeCountText" in header else "Unknown subscribers" + + subscriber_count = combine_runs(header["subscriberCountText"]) if "subscriberCountText" in header else "Unknown subscribers" description = channel_metadata["description"] allowed_regions = channel_metadata["availableCountryCodes"]