Taaze is a light package wrote by Ruby. It easy to use for getting comments or collections from online bookstore Taaze | 讀冊生活.
How To Get Started
Install by Ruby gem Taaze
gem install taaze
Requirements
$ bundle install
Usage
This gem may be used as a command line utility or called from code
How to get ID
User's comment
- You can get user list at 冊格子
- In every user's personal page , you can get his or her ID from URL
- For Example : - http://www.taaze.tw/container_zekeaclt_view.html?ci=13313301 - 'ci=' is User ID
- Like the user id, you can also get any books' ID from the URL
- And there are 3 argument for use
- --comments : get all comments for the user
- --collections : get all book collection for the user
- --tags : get all tags of the book
- And add yaml path where you want to store
- --output [file_path]
- Finally the Taaze will return yaml format file
CLI
taaze --comments [user_id] --output [file_path]
OR
taaze --collections [user_id] --output [file_path]
OR
taaze --tags [book_id] --output [file_path]
For Example
taaze --comments 12522728 --output ./comments.yml
taaze --collections 12522728 --output ./collections.yml
taaze --tags 11100763435 --output ./tags.yml