using python-3.5.2
-
pip install -r package.txt -
In run.py, there are five parameters
lat,lng,dist,price,n_items. you can change the default value of those parameters. You can chose the coordinates of a point (lat, lng) in Google Map -
replace token in run.py
-
python run.py
-
Input
crontab -ein command line -
If you use vim to edit files, press
iand input*/10 * * * * python /PATH/TO/crawler_591/run.py -
Press
Escto finish,:wqto save and quit.
After setup is complete, it will crawl 591 and sent notify to your Line every 10 minutes.
