fix: handle changed /account/multi/list.json response format

Twitter changed the response format from a list with nested 'user'
objects to {"users": [{user_id, name, screen_name, ...}]} with
minimal fields. Now extracts screen_name from the new format and
fetches the full profile via GraphQL UserByScreenName endpoint.
This commit is contained in:
jackwener
2026-03-11 00:40:07 +08:00
parent 8505428264
commit 5c1015f1fd
2 changed files with 47 additions and 18 deletions

2
uv.lock generated
View File

@@ -1010,7 +1010,7 @@ wheels = [
[[package]]
name = "twitter-cli"
version = "0.4.6"
version = "0.5.0"
source = { editable = "." }
dependencies = [
{ name = "beautifulsoup4" },