crawler
parent
b9c496567f
commit
7d0e35d4f0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue