iSarabjitDhiman / TweeterPy

TweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.
MIT License
123 stars 17 forks source link

Master Branch responsive_web_media_download_video_enabled #19

Closed nballen-tx closed 11 months ago

nballen-tx commented 11 months ago

It was working fine last week and now it returns

twitter.get_user_tweets('elonmusk', total=10)
The following features cannot be null: responsive_web_media_download_video_enabled
{'data': [], 'cursor_endpoint': None, 'has_next_page': True}

Do you happen to know what is missing here?

iSarabjitDhiman commented 11 months ago

It was working fine last week and now it returns

twitter.get_user_tweets('elonmusk', total=10)
The following features cannot be null: responsive_web_media_download_video_enabled
{'data': [], 'cursor_endpoint': None, 'has_next_page': True}

Do you happen to know what is missing here?

Yeah its the features list, I have to update it again. Elon is keep making these changes. I gotta find some way to dynamically update the features list/changes on its own, like api updater.

nballen-tx commented 11 months ago

Thanks - waiting for you code update.

Will you update both master and async?

iSarabjitDhiman commented 11 months ago

Thanks - waiting for you code update.

Will you update both master and async?

Yes I will both. Also give me an update on the event loop thing. You have to set config.USING_EVENT_LOOP to True. Let me know if its working.

codilau commented 11 months ago

I can confirm that even though no error occurs anymore, like the one OP mentioned, the data list still returns empty

iSarabjitDhiman commented 11 months ago

I can confirm that even though no error occurs anymore, like the one OP mentioned, the data list still returns empty

hey @codilau could u please give it another shot, may be in a virtual environment. I just checked it on my side, its working for me. Try reinstalling it. Let me know if the issue persists.