Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
593 views
in Technique[技术] by (71.8m points)

python - twint issue time data '2020–04–29 00:00:00' does not match format '%Y-%m-%d %H:%M:%S'

I faced an issue when I want to scrape data from Twitter configuring Since and Until. I use the format like this '2020-01-01 00:00:00':

config = twint.Config()
# ...
config.Since = "2020–04–29 00:00:00"
config.Until = "2020–05–29 00:00:00"
twint.run.Search(config)

and this error shows to me

ValueError: time data '2020–04–29 00:00:00' does not match format '%Y-%m-%d %H:%M:%S'

do you have any solution for this?

question from:https://stackoverflow.com/questions/65836173/twint-issue-time-data-2020-04-29-000000-does-not-match-format-y-m-d-h

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...