Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -372,9 +372,6 @@ def extract_articles(articles):
|
|
| 372 |
'content': article_content
|
| 373 |
})
|
| 374 |
return article_data
|
| 375 |
-
|
| 376 |
-
pythonCopyimport requests
|
| 377 |
-
from bs4 import BeautifulSoup
|
| 378 |
|
| 379 |
def fetch_articles_from_page(url):
|
| 380 |
response = requests.get(url)
|
|
|
|
| 372 |
'content': article_content
|
| 373 |
})
|
| 374 |
return article_data
|
|
|
|
|
|
|
|
|
|
| 375 |
|
| 376 |
def fetch_articles_from_page(url):
|
| 377 |
response = requests.get(url)
|