def recommend( usr, pwd ):
    userInfo, allWeibos = Weibo.authentication( usr, pwd )
    label = Recommendation.recommend( allWeibos )
    labelIdx = int(label[0])
    tag = labels[labelIdx]
    books = Douban.getRecommondBooks(tag)
    for book in books:
        print book
    return books, userInfo
def getTopBooks():
    books = Douban.getTopBooks()
    for book in books:
        print book
    return books