I keep getting CRITICAL:root:twint.run:Twint:Feed:noData'data' recently. I haven't encountered this problem since last year and I can't seem to fix it. I tried to do the upgrade and it keeps giving me that
Code:
import twint
import datetime
import nest_asyncio
current_date=datetime.date.today()
previous_date=current_date-datetime.timedelta(days=1)
nest_asyncio.apply()
c.Search = srch
c.Lang='tl OR en'
c.Since=previous_date.strftime("%Y-%m-%d %H:%M:%S")
c.Until=current_date.strftime("%Y-%m-%d %H:%M:%S")
twint.run.Search(c)
I keep getting CRITICAL:root:twint.run:Twint:Feed:noData'data' recently. I haven't encountered this problem since last year and I can't seem to fix it. I tried to do the upgrade and it keeps giving me that
Code:
import twint
import datetime
import nest_asyncio
current_date=datetime.date.today()
previous_date=current_date-datetime.timedelta(days=1)
nest_asyncio.apply()
c.Search = srch
c.Lang='tl OR en'
c.Since=previous_date.strftime("%Y-%m-%d %H:%M:%S")
c.Until=current_date.strftime("%Y-%m-%d %H:%M:%S")
twint.run.Search(c)