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