Taaze is a light package wrote by Ruby. It easy to use for getting comments or collections from online bookstore Taaze | 讀冊生活.
Install by Ruby gem Taaze
gem install taaze
$ bundle install
This gem may be used as a command line utility or called from code
- 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
- And there are 2 argument for use
- --comments : get all comments for the user
- --collections : get all book collection for the user
- And add yaml path where you want to store
- --output [file_path]
- Finally the Taaze will return yaml format file
taaze --comments [user_id] --output [file_path]
or
taaze --collections [user_id] --output [file_path]
taaze --comments 12522728 --output ./comments.yml
taaze --collections 12522728 --output ./collections.yml