Skip to content

joe-shenouda/Dutch-Security-News

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Security.nl News Scraper

This Python script scrapes the latest news from security.nl and generates an HTML page with the news items, including a summary of each article. The script uses the Beautiful Soup library to extract the news items and summaries from the HTML source code of the website.

The generated HTML page includes the following information for each news item:

  • Title
  • Summary (fetched by extracting the first paragraph of the article)
  • Link to the article

The script also includes some basic CSS styling to make the HTML output more visually appealing.

Created by Joe Shenouda (www.shenouda.nl)

Requirements

To run the script, you need to have the following software installed:

You can install Beautiful Soup using pip:

pip install beautifulsoup4

Usage

  1. Clone the repository or download the script file security.py.
  2. Open a terminal or command prompt window and navigate to the directory where the script is located.
  3. Run the following command to generate the HTML file:

python security.py

The script will generate an HTML file named news.html in the same directory.

  1. Open the news.html file in a web browser to view the formatted output.

License

This script is licensed under the MIT License.

Support

If you would like to support this project, you can make a donation through PayPal:

Donate with PayPal

Don't forget to give this repo a ✨ STAR!

Have fun! Joe

About

This is a Python script that scrapes the latest news from [security.nl]

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages