Skip to content

nafees094/Automation-of-Cybersecurity-News-with-Python-Script-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Automation of Cybersecurity News with Python Script Project

diagram

Description

In this project, I create a Python Script that parses through RSS feeds to automate the 5 most recent cybersecurity news from a list of popular cybersecurity websites. We code using Virtual Studio Code (any python environment can be used) and couple libraries that you may need to import. Lets get right into this step by step guide!

Languages and Utilities Used

  • Python

Environments Used

  • Virtual Studio Code (21H2)

Program walk-through:

Import these two libraries in order to parse the data from the sites:
set up

I then create a function with a menu for the user to select from of listed websites by inputting an integer value:
set up

The feedparser parses through the websites based on the input of the user, the loop then adds the 5 most recent links and titles into the array. Format the article from the list:
set up

When the user wants to open the website link, they input a number 1-5 of which link they want to open. The while loop takes the input as an integer, then uses the webbrowser import to open the desired link:
set up

Then I formatted to make it more user friendly:
set up

Now lets run it!:
Disk Sanitization Steps

After making a choice it lists out 5 recent articles, then prompts which we'd like to open:
Disk Sanitization Steps

As you can see, once the code executes it opens up your selection in a web browser:
Disk Sanitization Steps

This Concludes This Autoomation Python Script Project! NOTE: You can add onto this and make it more complex, or use these methonds to automate other tasks!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published