Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def run_lora(prompt,site,start,end):
|
|
| 21 |
mLink=""
|
| 22 |
#for link in soup.find_all("a", "html.parser", parse_only=SoupStrainer('a')):
|
| 23 |
for link in soup.find_all("a",href=re.compile("(?<=/url\?q=)(htt.*://.*)")):
|
| 24 |
-
print (re.split(":(?=http)",link["href"].replace("/url?q=","")))
|
| 25 |
mLink+=str(re.split(":(?=http)",link["href"].replace("/url?q=","").replace("'","")))
|
| 26 |
return mLink
|
| 27 |
|
|
|
|
| 21 |
mLink=""
|
| 22 |
#for link in soup.find_all("a", "html.parser", parse_only=SoupStrainer('a')):
|
| 23 |
for link in soup.find_all("a",href=re.compile("(?<=/url\?q=)(htt.*://.*)")):
|
| 24 |
+
print (re.split(":(?=http)",link["href"].replace("/url?q=","").replace("'","")))
|
| 25 |
mLink+=str(re.split(":(?=http)",link["href"].replace("/url?q=","").replace("'","")))
|
| 26 |
return mLink
|
| 27 |
|