This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# encoding: utf-8 | |
__author__ = 'wellsnake' | |
import sys | |
from workflow import Workflow, ICON_WEB, web | |
def main(wf): | |
# 设置豆瓣图书查询API地址 | |
doubanURL = 'https://api.douban.com/v2/book/search' |