Commit 26671100 authored by andytnt's avatar andytnt

clean

parent 889702d9
......@@ -2,7 +2,7 @@ from . import datelock, feed, get, output, verbose, storage
from asyncio import get_event_loop
from datetime import timedelta, datetime
from .storage import db
import asyncio
#import logging
class Twint:
......@@ -182,9 +182,7 @@ def Following(config):
def Lookup(config):
#logging.info("[<] " + str(datetime.now()) + ':: run+Lookup')
url = f"http://twitter.com/{config.Username}?lang=en"
loop = asyncio.get_event_loop()
loop.run_until_complete(get.User(url, config, db.Conn(config.Database)))
loop.close()
get_event_loop().run_until_complete(get.User(url, config, db.Conn(config.Database)))
def Profile(config):
config.Profile = True
......
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