Fix procedura dopo codice debug.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
da31e1655b
commit
38a78860b0
@ -125,9 +125,7 @@ class Build(loaih.RemoteBuild):
|
|||||||
path_arr = [ self.storage_path, '' ]
|
path_arr = [ self.storage_path, '' ]
|
||||||
path = str.join('/', path_arr)
|
path = str.join('/', path_arr)
|
||||||
print(f"DEBUG - Name: {name}, URL: {path}")
|
print(f"DEBUG - Name: {name}, URL: {path}")
|
||||||
matching = etree.HTML(urllib.request.urlopen(
|
matching = etree.HTML(urllib.request.urlopen(path).read()).xpath(
|
||||||
str.join('/', path)
|
|
||||||
).read()).xpath(
|
|
||||||
f"//a[contains(@href, '{name}')/@href"
|
f"//a[contains(@href, '{name}')/@href"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user