import os
import twint
import nest_asyncio
import pandas
nest_asyncio.apply()
c = twint.Config()
SearchString = "(covid19 OR covid OR covid-19) until:2020-01-01 since:2019-12-01)"
c.Search = SearchString
c.Lang = "en"
c.Pandas = True
twint.run.Search(c)
在这里,我只想要包含以下单词的推文,但我也从包含我的搜索查询中的单词的用户名中获取推文。
我应该如何在搜索这些推文的同时排除带有这些词的用户名?