Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import lxml
|
|
6 |
|
7 |
def find_it1(url):
|
8 |
source = urllib.request.urlopen(url).read()
|
9 |
-
soup =
|
10 |
# title of the page
|
11 |
print(soup.title)
|
12 |
|
|
|
6 |
|
7 |
def find_it1(url):
|
8 |
source = urllib.request.urlopen(url).read()
|
9 |
+
soup = bs4.BeautifulSoup(source,'lxml')
|
10 |
# title of the page
|
11 |
print(soup.title)
|
12 |
|