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.
it may show around 50 to 80, which is less than the total media count (1xxx).
after printing some information, it seems the response format changes after the first pagination. in the second pagination, _handle_pagination() finds the cursors but doesn't find the tweets data, so it terminates.
here is the first pagination response for reference:
hello,
thank you for this awesome package!
found an issue related to user media (with login). i use the code for getting user media with pagination:
and then count how many tweets are in the response
it may show around 50 to 80, which is less than the total media count (1xxx).
after printing some information, it seems the response format changes after the first pagination. in the second pagination,
_handle_pagination()
finds the cursors but doesn't find the tweets data, so it terminates.here is the first pagination response for reference:
and this is the next response:
it looks like the tweets are not in the
TimelineAddEntries
thanks