Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def run_lora(prompt):
|
|
9 |
import re
|
10 |
links = soup.findAll("a")
|
11 |
for link in soup.find_all("a",href=re.compile("(?<=/url\?q=)(htt.*://.*)")):
|
12 |
-
|
13 |
|
14 |
css = '''
|
15 |
#gen_btn{height: 100%}
|
|
|
9 |
import re
|
10 |
links = soup.findAll("a")
|
11 |
for link in soup.find_all("a",href=re.compile("(?<=/url\?q=)(htt.*://.*)")):
|
12 |
+
print (re.split(":(?=http)",link["href"].replace("/url?q=","")))
|
13 |
|
14 |
css = '''
|
15 |
#gen_btn{height: 100%}
|