Python 如何在Twint模块中排除搜索查询中的用户名
在这里,我只希望推文中包含以下文字,但我也会从用户名中获取推文,其中包含搜索查询中的文字 我应该如何在搜索这些推文的同时排除带有这些词的用户名Python 如何在Twint模块中排除搜索查询中的用户名,python,data-science,twint,Python,Data Science,Twint,在这里,我只希望推文中包含以下文字,但我也会从用户名中获取推文,其中包含搜索查询中的文字 我应该如何在搜索这些推文的同时排除带有这些词的用户名 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
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)