mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Brasil de Fato by Alex Mitrani
This commit is contained in:
parent
7a78fb5e9a
commit
16af96badc
31
recipes/brasil_de_fato.recipe
Normal file
31
recipes/brasil_de_fato.recipe
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class BrasilDeFato(BasicNewsRecipe):
|
||||||
|
news = True
|
||||||
|
title = u'Brasil de Fato'
|
||||||
|
__author__ = 'Alex Mitrani'
|
||||||
|
description = u'Uma visão popular do Brasil e do mundo.'
|
||||||
|
publisher = u'SOCIEDADE EDITORIAL BRASIL DE FATO'
|
||||||
|
category = 'news, politics, Brazil, rss, Portuguese'
|
||||||
|
oldest_article = 10
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
summary_length = 1000
|
||||||
|
language = 'pt_BR'
|
||||||
|
|
||||||
|
remove_javascript = True
|
||||||
|
no_stylesheets = True
|
||||||
|
use_embedded_content = False
|
||||||
|
remove_empty_feeds = True
|
||||||
|
masthead_url = 'http://www.brasildefato.com.br/sites/default/files/zeropoint_logo.jpg'
|
||||||
|
keep_only_tags = [dict(name='div', attrs={'id':'main'})]
|
||||||
|
remove_tags = [dict(name='div', attrs={'class':'links'})]
|
||||||
|
remove_tags_after = [dict(name='div', attrs={'class':'links'})]
|
||||||
|
|
||||||
|
feeds = [(u'Nacional', u'http://www.brasildefato.com.br/rss_nacional')
|
||||||
|
,(u'Internacional', u'http://www.brasildefato.com.br/rss_internacional')
|
||||||
|
,(u'Entrevista', u'http://www.brasildefato.com.br/rss_entrevista')
|
||||||
|
,(u'Cultura', u'http://www.brasildefato.com.br/rss_cultura')
|
||||||
|
,(u'Análise', u'http://www.brasildefato.com.br/rss_analise')
|
||||||
|
]
|
@ -6,7 +6,7 @@ class HBR(BasicNewsRecipe):
|
|||||||
title = 'Harvard Business Review Blogs'
|
title = 'Harvard Business Review Blogs'
|
||||||
description = 'To subscribe go to http://hbr.harvardbusiness.org'
|
description = 'To subscribe go to http://hbr.harvardbusiness.org'
|
||||||
needs_subscription = True
|
needs_subscription = True
|
||||||
__author__ = 'Kovid Goyal, enhanced by BrianG'
|
__author__ = 'Kovid Goyal'
|
||||||
language = 'en'
|
language = 'en'
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user