<gh_stars>0
 # Import libraries
import requests
from bs4 import BeautifulSoup


class RSSFeedParser:

    def __init__(self, feed_url):
        feed_response = requests.get(feed_url)
        soup = BeautifulSoup(feed_response.text, 'xml')
        self.feed = soup
    
    def get_title(self):
        return self.feed.channel.title.text

    def get_cve_rows(self):
        rows = self.feed.find_all("item")
        return rows
# Import libraries
import requests
from bs4 import BeautifulSoup


class RSSFeedParser:

    def __init__(self, feed_url):
        feed_response = requests.get(feed_url)
        soup = BeautifulSoup(feed_response.text, 'xml')
        self.feed = soup
    
    def get_title(self):
        return self.feed.channel.title.text

    def get_cve_rows(self):
        rows = self.feed.find_all("item")
        return rows
# Import libraries