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