Aggiunta codice debug.
This commit is contained in:
parent
ae9668554a
commit
da31e1655b
|
@ -123,8 +123,10 @@ class Build(loaih.RemoteBuild):
|
|||
path_arr = self.relative_path.insert(0, self.storage_path)
|
||||
else:
|
||||
path_arr = [ self.storage_path, '' ]
|
||||
path = str.join('/', path_arr)
|
||||
print(f"DEBUG - Name: {name}, URL: {path}")
|
||||
matching = etree.HTML(urllib.request.urlopen(
|
||||
str.join('/', path_arr)
|
||||
str.join('/', path)
|
||||
).read()).xpath(
|
||||
f"//a[contains(@href, '{name}')/@href"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue