Commit bc94da50 authored by Francesco Poldi's avatar Francesco Poldi

Added some spaces

parent 8e2ac55d
...@@ -12,7 +12,7 @@ class Twint: ...@@ -12,7 +12,7 @@ class Twint:
self.init = f"TWEET-{config.Resume}-0" self.init = f"TWEET-{config.Resume}-0"
else: else:
self.init = -1 self.init = -1
self.feed = [-1] self.feed = [-1]
self.count = 0 self.count = 0
self.user_agent = "" self.user_agent = ""
......
...@@ -68,14 +68,14 @@ async def Search(config, init): ...@@ -68,14 +68,14 @@ async def Search(config, init):
params.append(("l", config.Lang)) params.append(("l", config.Lang))
params.append(("lang", "en")) params.append(("lang", "en"))
if config.Query: if config.Query:
q += f"from:{config.Query}" q += f" from:{config.Query}"
if config.Username: if config.Username:
q += f"from:{config.Username}" q += f" from:{config.Username}"
if config.Geo: if config.Geo:
config.Geo = config.Geo.replace(" ", "") config.Geo = config.Geo.replace(" ", "")
q += f"geocode:{config.Geo}" q += f" geocode:{config.Geo}"
if config.Search: if config.Search:
q += f"{config.Search}" q += f" {config.Search}"
if config.Year: if config.Year:
q += f" until:{config.Year}-1-1" q += f" until:{config.Year}-1-1"
if config.Since: 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