Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ vectorizer = joblib.load("vectorizer.joblib") # global vocabulary
|
|
17 |
|
18 |
def crawURL(url):
|
19 |
# Fetch the sitemap
|
20 |
-
response = requests.get(
|
21 |
# Parse the sitemap HTML
|
22 |
soup = BeautifulSoup(response.content, 'html.parser')
|
23 |
|
|
|
17 |
|
18 |
def crawURL(url):
|
19 |
# Fetch the sitemap
|
20 |
+
response = requests.get(url)
|
21 |
# Parse the sitemap HTML
|
22 |
soup = BeautifulSoup(response.content, 'html.parser')
|
23 |
|