mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Caros Amogos
This commit is contained in:
parent
c6265f4038
commit
2e6095de3a
@ -1,7 +1,5 @@
|
|||||||
__copyright__ = '2011, Pablo Aldama <pabloaldama at gmail.com>'
|
__copyright__ = '2011, Pablo Aldama <pabloaldama at gmail.com>'
|
||||||
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
class AdvancedUserRecipe1311839910(BasicNewsRecipe):
|
class AdvancedUserRecipe1311839910(BasicNewsRecipe):
|
||||||
title = u'Caros Amigos'
|
title = u'Caros Amigos'
|
||||||
oldest_article = 20
|
oldest_article = 20
|
||||||
@ -9,9 +7,8 @@ class AdvancedUserRecipe1311839910(BasicNewsRecipe):
|
|||||||
language = 'pt_BR'
|
language = 'pt_BR'
|
||||||
__author__ = 'Pablo Aldama'
|
__author__ = 'Pablo Aldama'
|
||||||
|
|
||||||
feeds = [(u'Caros Amigos', u'http://carosamigos.terra.com.br/index/index.php?format=feed&type=rss')]
|
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']})
|
keep_only_tags = [dict(name='div', attrs={'class':['blog']})
|
||||||
,dict(name='div', attrs={'class':['blogcontent']})
|
,dict(name='div', attrs={'class':['blogcontent']})
|
||||||
]
|
]
|
||||||
remove_tags = [dict(name='div', attrs={'class':'addtoany'})]
|
remove_tags = [dict(name='div', attrs={'class':'addtoany'})]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user