python淘宝抢购脚本问题

请您来看一下,我最近在网上学会了淘宝秒杀代码,这个代码到时间的时候不运行,请您来看一下!


# 输出时间(有条理的判断购买)
while True:
    print(now)
    now = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')
    if now == buy_time:
        if driver.find_element(By.ID, "J_Go"):
            driver.find_element(By.ID, "J_Go").click()
            time.sleep(0.8)
            if driver.find_element(By.LINK_TEXT, "提交订单"):
                driver.find_element(By.LINK_TEXT, "提交订单").click()
                time.sleep(0.06)
                break