我是编码初学者。
我正在尝试从 Twitter 帐户中抓取推文。
当我运行我的代码时,出现以下错误: CRITICAL:root:twint.get:User:
这是我正在运行的代码:
import twint
config = twint.Config()
# Search tweets tweeted by user 'BarackObama'
config.Username = "BarackObama"
# Limit search results to 20
config.Limit = 20
# Return tweets that were published after Jan 1st, 2020
config.Since = "2020-01-1 20:30:15"
# Formatting the tweets
config.Format = "Tweet Id {id}, tweeted at {time}, {date}, by {username} says: {tweet}"
# Storing tweets in a csv file
config.Store_csv = True
config.Output = "Barack Obama"
twint.run.Search(config)
Run Code Online (Sandbox Code Playgroud)
这个错误是否意味着 Twint 有问题,或者我的代码有错误? …