diff --git a/pyPodcastParser/Item.py b/pyPodcastParser/Item.py index 47b353e..06a705f 100644 --- a/pyPodcastParser/Item.py +++ b/pyPodcastParser/Item.py @@ -1,6 +1,6 @@ -from datetime import datetime import email.utils -from time import mktime +from datetime import datetime + class Item(object): """Parses an xml rss feed diff --git a/pyPodcastParser/Podcast.py b/pyPodcastParser/Podcast.py index 1df745d..0f03205 100644 --- a/pyPodcastParser/Podcast.py +++ b/pyPodcastParser/Podcast.py @@ -1,13 +1,13 @@ # -*- coding: utf-8 -*- -from bs4 import BeautifulSoup -from datetime import datetime import email.utils -from time import mktime +from datetime import datetime + +from bs4 import BeautifulSoup from pyPodcastParser.Item import Item -class Podcast(): +class Podcast(object): """Parses an xml rss feed RSS Specs http://cyber.law.harvard.edu/rss/rss.html @@ -69,7 +69,6 @@ class Podcast(): """ def __init__(self, feed_content): - #super(Podcast, self).__init__() self.feed_content = feed_content self.set_soup() self.set_full_soup()