https://github.com/simonefelici/newspaper_scraper
The program allows the user to enter a website URL, extracts the URLs from that website, presents a choice of news titles, and displays the scraped content for the selected title.
https://github.com/simonefelici/newspaper_scraper
Last synced: 19 days ago
JSON representation
The program allows the user to enter a website URL, extracts the URLs from that website, presents a choice of news titles, and displays the scraped content for the selected title.
- Host: GitHub
- URL: https://github.com/simonefelici/newspaper_scraper
- Owner: SimoneFelici
- Created: 2023-05-29T19:41:24.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-16T17:07:25.000Z (over 2 years ago)
- Last Synced: 2024-01-23T21:39:42.772Z (over 2 years ago)
- Language: Python
- Size: 22.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Newspaper_Scraper
The program allows the user to enter a website URL, extracts the URLs from that website, presents a choice of news titles, and displays the scraped content for the selected title.
It works byputting the url of the site that you want to visit and the program will give you the titles of the new, by clicking you will see the news, all without annoying ads or something like that
# Usage
Install Python 3.11
Install the requirements:
pip3 install -r requirements-txt
run the code:
python3 newspaper.py