Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Douban Books Crawler 2020

License: GPL-3.0

Historical Python and MATLAB workflow for collecting Douban book information from doulists and tags.

Copyright (C) 2020 Jing Wang

Historical workflow

Run the stages from the repository root:

  1. Review Notes (Douban note IDs used to discover doulists) and Tags_raw (raw tag input).
  2. Run python main.py to prepare the source lists and collect book information. This stage generates inputs such as Doulists_ID and Tags_unique and writes the collected results.
  3. Open MATLAB in the repository directory and run main to import, sort, and organize the collected results using main.m.

Published results: Douban-books-2020.

These historical scripts document the original workflow. Compatibility with current Douban pages has not been verified; the newer implementation is linked below.

Original environment

  • Python 3.7.
  • MATLAB R2018a.

These versions document the original environment, rather than a current compatibility guarantee.

Related projects

  • Douban-books-2020: Historical 2020 results distributed as UTF-8 BOM CSV files.
  • douban-books-ranking: Newer standalone Python implementation with an online ranking and published JSON data.

License

See LICENSE for the GNU General Public License v3.0.

Contact

Jing Wang
wangjing@xynu.edu.cn
yuzhounh@163.com
2020-7-5 18:25:16

Releases

Packages

Contributors

Languages