Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,9 +16,7 @@ def run_lora(prompt,site,start,end):
|
|
16 |
response = requests.get(url)
|
17 |
soup = BeautifulSoup(response.text, 'html.parser')
|
18 |
links = soup.findAll("a")
|
19 |
-
|
20 |
-
for link in soup.find_all("a",href=re.compile("(?<=/url\?q=)(htt.*://.*)")):
|
21 |
-
print(re.split(":(?=http)",extract_href(link["href"])))
|
22 |
j = extract_results(soup)
|
23 |
print(j)
|
24 |
|
|
|
16 |
response = requests.get(url)
|
17 |
soup = BeautifulSoup(response.text, 'html.parser')
|
18 |
links = soup.findAll("a")
|
19 |
+
|
|
|
|
|
20 |
j = extract_results(soup)
|
21 |
print(j)
|
22 |
|