Show booklist is only available for MacOSX user at present.
Sorting books based on marks from https://book.douban.com
Example:
-
Install libraries yourself, which are requests, bs4 and wxPython.
-
Use command:
$ pip install -r requirements.txt
to install libraries needed. But I don't recommend it because it's my first time to distribute a python project and I don't know exactly whether it works.
- Use command:
I don't recommend it, same reason of method 2.
$ python setup.py install
After installed libraries needed.
$ python ui_doubanbookhelper.py 2
to start version 2
for version 1, use
$ python ui_doubanbookhelper.py 1
Example will use version 2
-
Input keyword, 'Python' for example
-
Press Start! button to begin searching
-
Done
-
Click Show Booklist to check out booklist
-
'booklist of XXX' can be found in folder export_files what you get is:
For now, two versions with UI are available, with command line argument 1 and 2 to invoke. The 1st version only fetches data from 10 pages, which means 150 books realting the key word given, and output a txt file which has a sorted list of books based on mark in website book.douban.com.
The other version, fetches data from 10 * 3 pages, which means 450 books.
e-mail: rafaelcheng13@gmail.com