Skip to content

Instantly share code, notes, and snippets.

@wellsnake
wellsnake / douban_workflow.py
Created August 16, 2014 14:36
douban_workflow
#!/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'