From 1e569b9e1816cb82dd4d54169d9cbf0b98546324 Mon Sep 17 00:00:00 2001 From: Ayo Date: Mon, 9 Mar 2026 16:46:51 +0100 Subject: [PATCH] refactor: remove get_tags_url function --- threads.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/threads.py b/threads.py index 562458a..b4c839d 100755 --- a/threads.py +++ b/threads.py @@ -72,14 +72,10 @@ def get_account_tagged_statuses(tag_name): statuses = [utils.clean_status(s) for s in statuses] return statuses -def get_tags_url(): +def get_featured_tags(): id = get_user_id() ser = server() url = f'{ser}/api/v1/accounts/{id}/featured_tags' - return url - -def get_featured_tags(): - url = get_tags_url() response = requests.get(url) tags = response.json() return tags