Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -291,7 +291,7 @@ def find_all(purpose,task,history, url):
|
|
291 |
rawp = []
|
292 |
source = requests.get(url)
|
293 |
#source = urllib.request.urlopen(url).read()
|
294 |
-
soup = bs4.BeautifulSoup(source,'lxml')
|
295 |
# title of the page
|
296 |
print(soup.title)
|
297 |
# get attributes:
|
|
|
291 |
rawp = []
|
292 |
source = requests.get(url)
|
293 |
#source = urllib.request.urlopen(url).read()
|
294 |
+
soup = bs4.BeautifulSoup(source.text,'lxml')
|
295 |
# title of the page
|
296 |
print(soup.title)
|
297 |
# get attributes:
|