Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,8 +23,8 @@ def link_find(url):
|
|
| 23 |
for p in soup.find_all("a"):
|
| 24 |
url0=p.get('href')
|
| 25 |
if not url0.startswith("http"):
|
| 26 |
-
uri1=
|
| 27 |
-
uri2=
|
| 28 |
uri3=uri2.split("/")[0]
|
| 29 |
uri=f'{uri1}//{uri3}'
|
| 30 |
print(uri)
|
|
|
|
| 23 |
for p in soup.find_all("a"):
|
| 24 |
url0=p.get('href')
|
| 25 |
if not url0.startswith("http"):
|
| 26 |
+
uri1=url.split("//")[0]
|
| 27 |
+
uri2=url.split("//")[1]
|
| 28 |
uri3=uri2.split("/")[0]
|
| 29 |
uri=f'{uri1}//{uri3}'
|
| 30 |
print(uri)
|