mirror of
https://git.sr.ht/~cadence/NewLeaf
synced 2024-11-21 23:27:29 +00:00
Fix subscriber count extraction
This commit is contained in:
parent
f1ddf66f50
commit
39425f994a
@ -34,7 +34,7 @@ def extract_channel(ucid):
|
||||
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"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user