0
需要有关adidas auto checkout脚本的帮助。收到以下错误:adidas脚本:'NoneType'对象不可自订
Traceback (most recent call last):
File "adidas.py", line 169, in <module>
checkout()
File "adidas.py", line 80, in checkout
url = soup.find('div', {'class': 'cart_wrapper rbk_shadow_angle rbk_wrapper_checkout summary_wrapper'})['data-url']
TypeError: 'NoneType' object is not subscriptable
链接到整个脚本:https://github.com/kfichter/OpenATC/blob/482360a7a160136a4969d2cf0527809660d021fb/Scripts/adidas.py