Obtendo texto de tweet completo de "user_timeline" com tweepy
Estou usando o tweepy para buscar tweets na linha do tempo de um usuário usando o script incluídoaqui. No entanto, os tweets estão entrando truncados:
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_key, access_secret)
api = tweepy.API(auth)
new_tweets = api.user_timeline(screen_name = screen_name,count=200, full_text=True)
Devoluções:
Status(contributors=None,
truncated=True,
text=u"#Hungary's new bill allows the detention of asylum seekers
& push backs to #Serbia. We've seen push backs before so\u2026 https://
t.co/iDswEs3qYR",
is_quote_status=False,
...
Ou seja, para algunsi
, new_tweets[i].text.encode("utf-8")
aparece como
#Hungary's new bill allows the detention of asylum seekers &
push backs to #Serbia. We've seen push backs before so…https://t.co/
iDswEs3qYR
Onde o...
no último substitui o texto que normalmente seria exibido no Twitter.
Alguém sabe como eu posso substituirtruncated=True
para obter o texto completo sob minha solicitação?