markowanga / stweet

Advanced python library to scrap Twitter (tweets, users) from unofficial API
MIT License
588 stars 67 forks source link

User timeline is different than user tweets #27

Closed ecolquhoun116 closed 3 years ago

ecolquhoun116 commented 3 years ago

import stweet as st from arrow import Arrow

search_tweets_task = st.SearchTweetsTask( from_username = 'VP', since=Arrow(year=2020, month=6, day=4), until=Arrow(year=2020, month=11, day=4) ) tweets_collector = st.CollectorTweetOutput()

st.TweetSearchRunner( search_tweets_task=search_tweets_task, tweet_outputs=[tweets_collector, st.CsvTweetOutput('output_file.csv')] ).run()


This code had run for a few other user accounts but not this one, please help, thanks for a great tool!

markowanga commented 3 years ago

Hi, I've checked your issue. I see that user VP post last tweet in 2020-03-15T13:11:17+00:00. Later tweets in his timeline are eg. retweets from @Mike_Pence. I will think about add user timeline as stweet task.

markowanga commented 3 years ago

I think I will analyze adding task this week. If you like my project please star it -- it will make it more popular 😊.

markowanga commented 3 years ago

I'am trying to prepare this -- I have problems with model returned from API, it's not same like previous tweet returned which I've implemented in library

markowanga commented 3 years ago

I'm preparing stweet 2.0 right now. Twitter changed api on website, current API is deprecated. It can works with tor proxy.