Commit c3b76170 authored by andytnt's avatar andytnt

Merge branch 'master' of https://github.com/twintproject/twint

parents a319db47 bc94da50
......@@ -12,7 +12,7 @@ class Twint:
self.init = f"TWEET-{config.Resume}-0"
else:
self.init = -1
self.feed = [-1]
self.count = 0
self.user_agent = ""
......
......@@ -68,14 +68,14 @@ async def Search(config, init):
params.append(("l", config.Lang))
params.append(("lang", "en"))
if config.Query:
q += f"from:{config.Query}"
q += f" from:{config.Query}"
if config.Username:
q += f"from:{config.Username}"
q += f" from:{config.Username}"
if config.Geo:
config.Geo = config.Geo.replace(" ", "")
q += f"geocode:{config.Geo}"
q += f" geocode:{config.Geo}"
if config.Search:
q += f"{config.Search}"
q += f" {config.Search}"
if config.Year:
q += f" until:{config.Year}-1-1"
if config.Since:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment