Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
update fronda
Browse files Browse the repository at this point in the history
  • Loading branch information
t3d committed Mar 2, 2013
1 parent d91e6e7 commit ac6bea8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fronda.recipe
@@ -1,7 +1,7 @@
#!/usr/bin/env python

__license__ = 'GPL v3'
__copyright__ = u'2010-2012, Tomasz Dlugosz <tomek3d@gmail.com>'
__copyright__ = u'2010-2013, Tomasz Dlugosz <tomek3d@gmail.com>'
'''
fronda.pl
'''
Expand Down Expand Up @@ -68,7 +68,8 @@ class Fronda(BasicNewsRecipe):
article_url = 'http://www.fronda.pl' + article_a['href']
article_title = self.tag_to_string(article_a)
articles[genName].append( { 'title' : article_title, 'url' : article_url, 'date' : article_date })
feeds.append((genName, articles[genName]))
if articles[genName]:
feeds.append((genName, articles[genName]))
return feeds

keep_only_tags = [
Expand Down

0 comments on commit ac6bea8

Please sign in to comment.