Newspaper3k

Posted 3 weeks ago
Newspaper3k
Publisher Profile:
Newspaper3k: Article scraping & curation
Language:
Python

What is newspaper3k about?


It is a article scrapping and curation library. With this you can easily fetch, parse and scrape the webpage. Newspaper3k is a Python 3 library. For python you can install normal newspaper with pip installer.


Python Virtual Environment:


Create a virtual environment before proceeding.


We will discuss why a virtual environment necessary.


> python -m venv venv

Activate the created virtual environment:


> source venv/bin/activate

Installation:


pip install newspaper3k

Import newspaper in current Python script




# Import newspaper
from newspaper import Article

Read full article on Factober Dev Stack.