fix: extract full text from note_tweet for long tweets (fixes #20)

Twitter long tweets (>280 chars) store full text in
note_tweet.note_tweet_results.result.text rather than legacy.full_text.
The parser now prioritizes note_tweet text when available.
This commit is contained in:
jackwener
2026-03-14 13:45:10 +08:00
parent 7de8ad0fbd
commit ce4326ef42
3 changed files with 14 additions and 1 deletions

View File

@@ -61,6 +61,13 @@
]
}
},
"note_tweet": {
"note_tweet_results": {
"result": {
"text": "Hello\nworld\n\nThis is the full text of a long tweet that goes beyond the 280 character limit and contains additional content that would be hidden behind Show More in the Twitter UI."
}
}
},
"views": {
"count": "1234"
}