twintを使ってTwitterからスクレイピングの例です。
twintとのページ
https://github.com/twintproject/twint
pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint
twitter.py
import twint
# Configure
c = twint.Config()
c.Search = ["野鳥"]
# c.Username = ""
# c.Get_replies = False
c.Since = "2020-05-01"
c.Until = "2021-05-19"
c.Store_csv = True
c.Output = "none.csv"
# Run
# c.Debug = True
# c.Retweets=False
# c.Hide_output = True
twint.run.Search(c)