Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

twitter scraping python

Use a python library called twint this is a basic example and you can do alot more using their documentation


pip install twint

import twint
#configuration
config = twint.Config()
config.Search = "bitcoin"
config.Lang = "en"
config.Limit = 100
config.Since = "2019–04–29"
config.Until = "2020–04–29"
config.Store_json = True
config.Output = "custom_out.json"
#running search
twint.run.Search(config)
 
PREVIOUS NEXT
Tagged: #twitter #scraping #python
ADD COMMENT
Topic
Name
9+1 =