from newspaper import Article
from IPython.display import display, Markdown

# Gets News Article from User
url = input("Enter the news article you want to know: ")

article = Article(url)
article.download()
article.parse()
# Jupyter Notebook Display
# print(article.title)
display(Markdown(article.title)) # Jupyter display only
display(Markdown(article.text)) # Jupyter display only

---------------------------------------------------------------------------

ModuleNotFoundError                       Traceback (most recent call last)

/Users/nitinb/coding/vscode/student/_notebooks/2023-09-01-Newspaper.ipynb Cell 2 line 1
----> <a href='vscode-notebook-cell:/Users/nitinb/coding/vscode/student/_notebooks/2023-09-01-Newspaper.ipynb#W1sZmlsZQ%3D%3D?line=0'>1</a> from newspaper import Article
      <a href='vscode-notebook-cell:/Users/nitinb/coding/vscode/student/_notebooks/2023-09-01-Newspaper.ipynb#W1sZmlsZQ%3D%3D?line=1'>2</a> from IPython.display import display, Markdown
      <a href='vscode-notebook-cell:/Users/nitinb/coding/vscode/student/_notebooks/2023-09-01-Newspaper.ipynb#W1sZmlsZQ%3D%3D?line=3'>4</a> # Gets News Article from User


ModuleNotFoundError: No module named 'newspaper'