Beispiel #1
0
def get_comment(name):
    app = Ins(name)
    ret = app.db_tool.get_short('comment')
    for i in ret:
        i = i[0]
        print('爬取{}的评'.format(i))
        app.get_comment(short=i)
Beispiel #2
0
def get_started(name):
    app = Ins(name)
    ret = app.db_tool.get_short('liked')
    for i in ret:
        i = i[0]
        print('爬取{}的咱'.format(i))
        app.get_stars(short=i)
Beispiel #3
0
def get_pics(name):
    app = Ins(name)
    if app.user_id == 0:
        return
    else:
        app.get_pics()
        app.update_user_crawl_status(1)
Beispiel #4
0
def get_tagged(name):
    app = Ins(name)
    if app.user_id == 0:
        return
    else:
        app.get_tagged()
Beispiel #5
0
def get_pics_1(name):
    app = Ins(name)