def crawl(): crawler = Crawler() param_did = input("预先输入本用户cookie中的did值:") crawler.set_did(param_did) uid = input("输入此次要爬取的用户id:") crawler.add_to_list(uid) crawler.crawl() input("请按回车键退出......")
def crawl(): crawler = Crawler(False) crawler.set_did(param_did) crawler.crawl()
def crawl(): c = Crawler() c.set_did(param_did) c.crawl_like("3xzixigzwy4kj5c")