-
-
Notifications
You must be signed in to change notification settings - Fork 975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twitter extractor not getting full text? (retweets) #4690
Comments
This is obviously not intended behavior.
For Tweets with really long text, this does not work, or at least it didn't. |
Thanks for example, currently rate-limited, will check tomorrow. |
So I did checks and you're right. ['text'] holds full text, ['full_text'] doesn't (nice api twitter team).
It's ugly, but works. |
Oops, that only covered retweets with ['note_tweet'], had to add this to make other retweets work:
|
Hey, if it works, it works 😄 |
While checking metadata jsons I noticed truncated text instead of full text.
I replaced line
content = text.unescape(note["text"] if note else tget("full_text") or tget("text") or "")
with
content = tget("full_text")
and it seems to work fine now.
Is that intended behavior?
The text was updated successfully, but these errors were encountered: