View Single Post
Old 07-28-2011, 06:05 AM   #1
pabloaldama
Junior Member
pabloaldama began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2011
Device: kindle 3
Caros Amigos recipe

I build the caros amigos recipe, here it is.

Eu fiz o recipe para Caros Amigos.


Code:
__copyright__ = '2011, Pablo Aldama <pabloaldama at gmail.com>'
class AdvancedUserRecipe1311839910(BasicNewsRecipe):
    title          = u'Caros Amigos'
    oldest_article = 20
    max_articles_per_feed = 100

    feeds          = [(u'Caros Amigos', u'http://carosamigos.terra.com.br/index/index.php?format=feed&type=rss')]
    keep_only_tags    = [dict(name='div', attrs={'class':['blog']})
                        ,dict(name='div', attrs={'class':['blogcontent']})
                        ]
    remove_tags    = [dict(name='div', attrs={'class':'addtoany'})]
Attached Files
File Type: zip Caros Amigos_1000.recipe.zip (444 Bytes, 176 views)

Last edited by pabloaldama; 08-03-2011 at 06:35 AM.
pabloaldama is offline   Reply With Quote