From 037191f1523f7f792598ffe2239a38651c1fbc5f Mon Sep 17 00:00:00 2001 From: Mpho J Kubeka Date: Sat, 30 Oct 2021 11:58:20 +0200 Subject: [PATCH] Updated url.py limit param Previous limit param on Search feature got inconsistent tweet scraping especially when used with another API. --- twint/url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twint/url.py b/twint/url.py index 97923cef..0b30dd75 100644 --- a/twint/url.py +++ b/twint/url.py @@ -67,7 +67,7 @@ async def MobileProfile(username, init): async def Search(config, init): logme.debug(__name__ + ':Search') url = base - tweet_count = 100 + tweet_count = 100 if not config.Limit else config.Limit q = "" params = [ # ('include_blocking', '1'),