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)
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)
def get_pics(name): app = Ins(name) if app.user_id == 0: return else: app.get_pics() app.update_user_crawl_status(1)
def get_tagged(name): app = Ins(name) if app.user_id == 0: return else: app.get_tagged()
def get_pics_1(name): app = Ins(name)