Skip to content

Commit 9553340

Browse files
authored
Update url.py
twintproject#1307
1 parent 45b179f commit 9553340

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

twint/url.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async def MobileProfile(username, init):
6767
async def Search(config, init):
6868
logme.debug(__name__ + ':Search')
6969
url = base
70-
tweet_count = 100
70+
tweet_count = 100 if not config.Limit else config.Limit
7171
q = ""
7272
params = [
7373
# ('include_blocking', '1'),
@@ -89,7 +89,7 @@ async def Search(config, init):
8989
('send_error_codes', 'true'),
9090
('simple_quoted_tweet', 'true'),
9191
('count', tweet_count),
92-
# ('query_source', 'typed_query'),
92+
('query_source', 'typed_query'),
9393
# ('pc', '1'),
9494
('cursor', str(init)),
9595
('spelling_corrections', '1'),

0 commit comments

Comments
 (0)