mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
17 lines
638 B
Plaintext
17 lines
638 B
Plaintext
__copyright__ = '2011, Pablo Aldama <pabloaldama at gmail.com>'
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class AdvancedUserRecipe1311839910(BasicNewsRecipe):
|
|
title = u'Caros Amigos'
|
|
oldest_article = 20
|
|
max_articles_per_feed = 100
|
|
language = 'pt_BR'
|
|
__author__ = 'Pablo Aldama'
|
|
|
|
feeds = [(u'Caros Amigos',
|
|
u'http://carosamigos.terra.com.br/index2/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'})]
|