Commit de92749e authored by Francesco Poldi's avatar Francesco Poldi

Fix

parent 3d81c4fb
...@@ -62,6 +62,7 @@ def get_connector(config): ...@@ -62,6 +62,7 @@ def get_connector(config):
async def RequestUrl(config, init, headers = []): async def RequestUrl(config, init, headers = []):
logme.debug(__name__+':RequestUrl') logme.debug(__name__+':RequestUrl')
_connector = get_connector(config) _connector = get_connector(config)
_serialQuery = ""
if config.Profile: if config.Profile:
if config.Profile_full: if config.Profile_full:
...@@ -72,6 +73,7 @@ async def RequestUrl(config, init, headers = []): ...@@ -72,6 +73,7 @@ async def RequestUrl(config, init, headers = []):
logme.debug(__name__+':RequestUrl:notProfile_full') logme.debug(__name__+':RequestUrl:notProfile_full')
_url = await url.Profile(config.Username, init) _url = await url.Profile(config.Username, init)
response = await Request(_url, connector=_connector, headers=headers) response = await Request(_url, connector=_connector, headers=headers)
_serialQuery = _url
elif config.TwitterSearch: elif config.TwitterSearch:
logme.debug(__name__+':RequestUrl:TwitterSearch') logme.debug(__name__+':RequestUrl:TwitterSearch')
_url, params, _serialQuery = await url.Search(config, init) _url, params, _serialQuery = await url.Search(config, init)
...@@ -87,6 +89,7 @@ async def RequestUrl(config, init, headers = []): ...@@ -87,6 +89,7 @@ async def RequestUrl(config, init, headers = []):
logme.debug(__name__+':RequestUrl:Favorites') logme.debug(__name__+':RequestUrl:Favorites')
_url = await url.Favorites(config.Username, init) _url = await url.Favorites(config.Username, init)
response = await MobileRequest(_url, connector=_connector) response = await MobileRequest(_url, connector=_connector)
_serialQuery = _url
if config.Debug: if config.Debug:
print(_serialQuery, file=open("twint-request_urls.log", "a", encoding="utf-8")) print(_serialQuery, file=open("twint-request_urls.log", "a", encoding="utf-8"))
......
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