diff --git a/twikit/client.py b/twikit/client.py index 0f6e34fa..b4b45b93 100644 --- a/twikit/client.py +++ b/twikit/client.py @@ -461,7 +461,7 @@ def search_tweet( ... ... - >>> latest_tweets = tweets.next() # Retrieve latest tweets + >>> previous_tweets = tweets.previous() # Retrieve previous tweets """ product = product.capitalize() @@ -1518,6 +1518,8 @@ def get_user_tweets( ... ... + >>> previous_tweets = tweets.previous() # Retrieve previous tweets + See Also -------- .get_user_by_screen_name diff --git a/twikit/twikit_async/client.py b/twikit/twikit_async/client.py index 8e4afd29..2a2f26e9 100644 --- a/twikit/twikit_async/client.py +++ b/twikit/twikit_async/client.py @@ -464,7 +464,8 @@ async def search_tweet( ... ... - >>> latest_tweets = await tweets.next() # Retrieve latest tweets + >>> # Retrieve previous tweets + >>> previous_tweets = await tweets.previous() """ product = product.capitalize() @@ -1552,6 +1553,9 @@ async def get_user_tweets( ... ... + >>> # Retrieve previous tweets + >>> previous_tweets = await tweets.previous() + See Also -------- .get_user_by_screen_name