Spaces:
Runtime error
Runtime error
Update i_search.py
Browse files- i_search.py +1 -1
i_search.py
CHANGED
@@ -15,7 +15,7 @@ def i_search(url):
|
|
15 |
response = requests.get(url)
|
16 |
try:
|
17 |
response.raise_for_status()
|
18 |
-
soup = BeautifulSoup(response.content, 'lxml
|
19 |
out = 'URL Links:\n'.join([p.text for p in soup.find_all('a')])
|
20 |
out1 = ' '.join([p.text for p in soup.find_all('p')])
|
21 |
out2 = ' '.join([p.text for p in soup.find_all('span')])
|
|
|
15 |
response = requests.get(url)
|
16 |
try:
|
17 |
response.raise_for_status()
|
18 |
+
soup = BeautifulSoup(response.content, 'lxml')
|
19 |
out = 'URL Links:\n'.join([p.text for p in soup.find_all('a')])
|
20 |
out1 = ' '.join([p.text for p in soup.find_all('p')])
|
21 |
out2 = ' '.join([p.text for p in soup.find_all('span')])
|