Scrape auto and estate ads from many Latvian classidieds websites.
- Install Python 3
- Download the Python MySQL adapter from http://dev.mysql.com/downloads/connector/python/
- Open a terminal and
cdto the s-scrape directory - Run
pip3 install -r requirements.txtto install dependencies
Afterwards, configure the database:
Edit the following lines to use the correct MySQL details:
- Lines 13-16 in
./sscrape/sscrape/pipelines.py - Lines 64-67 in
./sscrape/sscrape/middlewares.py
Configure a systemd or cron job to periodically run ./sscrape/scrape_all.py
Use proxychains for proxying requests.