在WooCommerce日期选择器中更改订单日期

时间:2019-11-26 10:17:24

标签: php woocommerce

有人在25-11-2019 @ 08:27订购了一个产品,并且能够当天发货。这永远是不可能的。当日15:00之前的所有订单都应能够在第二天交付。如何在同一天的08:27提取订单?我该如何解决?

from bs4 import BeautifulSoup
import requests

headers = {'User-Agent':'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36'}

term = 'usa'
page=1
while True:

    url ='https://news.search.yahoo.com/search?q={}&pz=10&b={}'.format(term,page)
    print(url)
    page = page + 10
    response = requests.get(url, headers=headers,verify=False)
    if response.status_code !=200:
        break
    soup = BeautifulSoup(response.text, 'html.parser')

0 个答案:

没有答案