Exemplo n.º 1
0
def spider(keyword):
    driver = DriverTool.get_driver()
    Service.Baidu_search(driver, keyword=keyword)
    datas = Service.get_Baidu_datas(driver)
    for data in datas:
        print(data)