diff --git a/loaih/build.py b/loaih/build.py index 8124c7a..6069c14 100644 --- a/loaih/build.py +++ b/loaih/build.py @@ -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" )