Skip to content
This repository was archived by the owner on Mar 30, 2023. It is now read-only.

Fix empty tweet search results and limit of 20 tweets returned #1307

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions twint/url.py
Original file line number Diff line number Diff line change
@@ -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'),
@@ -89,7 +89,7 @@ async def Search(config, init):
('send_error_codes', 'true'),
('simple_quoted_tweet', 'true'),
('count', tweet_count),
# ('query_source', 'typed_query'),
('query_source', 'typed_query'),
# ('pc', '1'),
('cursor', str(init)),
('spelling_corrections', '1'),