コード例 #1
0
def init_comments():
    '''从weibo.com抓取评论'''
    client = WeiboService.get_active_client()
    if type(client) == dict:
        redirect(client['url'])
    return WeiboService.get_comments(client)
コード例 #2
0
ファイル: app.py プロジェクト: Closer211/weibo_PicWall
def init_comments():
    '''从weibo.com抓取评论'''
    client = WeiboService.get_active_client()
    if type(client)==dict:
        redirect(client['url'])
    return WeiboService.get_comments(client)
コード例 #3
0
def weibo_callback():
    '''微博callback'''
    r = WeiboService.get_token()
    return r.access_token
コード例 #4
0
ファイル: app.py プロジェクト: Closer211/weibo_PicWall
def weibo_callback():
    '''微博callback'''
    r = WeiboService.get_token()
    return r.access_token