Skip to content

corenel/autohome-image-spider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autohome-image-spider

Spider for downloading images from autohome.

Usage

  1. (Optional) Create a virtual environment for Python:
$ virtualenv -p python3 spider-env
$ source spider-env/bin/activate
  1. Install required Python packages:
$ pip3 install -r requirements.txt
  1. Modify misc/config,py to custom your configuration.

  2. Run script and enjoy!

$ scrapy crawl autohome -L "INFO"
  • images will be download to {IMAGE_ROOT}/{BRAND_ID}/{FCT_ID}/{SERIES_ID}/{SPEC_ID}/{IMAGE_TYPE}/{IMAGE_ID}.jpg

About

Spider for downloading images from autohome.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages