Skip to content

kh555069/crawler_591

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crawler_591

using python-3.5.2

  1. pip install -r package.txt

  2. 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

  3. replace token in run.py

  4. python run.py

image

Setup a cron job to run every x minutes

  1. Input crontab -e in command line

  2. If you use vim to edit files, press i and input */10 * * * * python /PATH/TO/crawler_591/run.py

  3. Press Esc to finish, :wq to save and quit.

After setup is complete, it will crawl 591 and sent notify to your Line every 10 minutes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages