input the id of a user, crawl all one's photos in albums
MongoDB is used in the application. Make sure mongo service is running
pipenv is used to control the dependencies.
- install pipenv.
pip install pipenv
- install dependencies
pipenv install
- enter virtual envirment
pipenv shell
python AlbumCrawler [user id]
for example
python AlbumCrawler captainou
The user id can be found in one's main page url. e.g.
https://www.douban.com/people/captainou/
indicates user id iscaptainou
.