The Twitter Scraper project has minimal development and is very simple. It's light (to use resource).
You can use the Core of this project in your projects as a tool for scraping.
git clone --branch master https://github.com/pourya90091/Twitter-Scraper.git
pip install -r requirements.txt
- Set web app settings at
scraper/settings.py
. - Select accounts to scraping at
core/variables.py
.
- Scraper (selenium bot) must be run manually and as another process.
python main.py
Tip : On some hosts that give limited permission, you need to install
chromedriver
manually and place it atcore/
and changeexecutable_path
to "chromedriver" (it means don't use relative or absolute path).
Tip : On some hosts you don't need to set
executable_path
(removeservice
).
Tip : You can find
executable_path
atcore/initialize.py
.