Webscraper Template
HENRYMARTIN4

Webscraper Template

A simple webscraper using the newspaper3k Python module.

What it does

What this does is it first gets user input for the URL.

Then, it goes on and prints out all the article titles.

Then, we define a function to allow us to get our user input for our article number.

Here, we now get the article number the user wants...

Then we download the article, parse it, and print out the contents.
Please enjoy!

Sorry about the long install times.

NOTE: This is very glitchy.

You are viewing a single comment. View All
fullstack11235

What are some good sites to use? The ones I've tried comeback with an error.