Commit 30e25dc5 authored by Francesco Poldi's avatar Francesco Poldi

Fixed errors with user_full

parent 4251f64b
......@@ -120,8 +120,8 @@ async def User(url, config, conn):
response = await Request(url)
soup = BeautifulSoup(response, "html.parser")
await Users(soup, config, conn)
except:
pass
except Exception as e:
print(e)
def Limit(Limit, count):
#loggin.info("[<] " + str(datetime.now()) + ':: get+Limit')
......
......@@ -38,6 +38,12 @@ def is_tweet(tw):
def _output(obj, output, config, **extra):
#logging.info("[<] " + str(datetime.now()) + ':: output+_output')
if config.Lowercase:
if isinstance(obj, str):
obj = obj.lower()
elif str(type(obj)).split()[0] == "<class":
pass
else:
print(type(obj))
obj.username = obj.username.lower()
for i in range(len(obj.mentions)):
obj.mentions[i] = obj.mentions[i].lower()
......
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