master
ZouJiu 2024-02-04 17:07:30 +08:00
parent b9c496567f
commit 7d0e35d4f0
1 changed files with 2 additions and 0 deletions

View File

@ -959,6 +959,8 @@ def downloaddriver():
ddl = ret.find_all('a') ddl = ret.find_all('a')
for k in ddl: for k in ddl:
key = k.attrs.keys() key = k.attrs.keys()
if 'href' not in key:
continue
href = k.attrs['href'] href = k.attrs['href']
if 'href' in key and "win64" in href and ".zip" in href: if 'href' in key and "win64" in href and ".zip" in href:
url = href url = href