Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 03-14-2018, 08:20 PM   #1
Bola de Fogo
Member
Bola de Fogo began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2016
Device: Kindle Paper White
Update Recipe Folha de Sao Paulo - Brazil

Since the old recipe wasnt working any more due to site changes, I´ve maken a new one.

The only set back is that this new recipe has no cover (HELP ME WITH THAT IF YOU CAN).

Please up date this recipe to the next Calibre version.

Code:
#!/usr/bin/env python2
# vim:fileencoding=utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1517784924(BasicNewsRecipe):
    title          = 'Folha - beta version'
    oldest_article = 1
    max_articles_per_feed = 100
    auto_cleanup   = True

    feeds          = [
    (u'Poder', u'http://feeds.folha.uol.com.br/poder/rss091.xml')
    ,(u'Cotidiano', u'http://feeds.folha.uol.com.br/cotidiano/rss091.xml')
    ,('Painel', 'http://painel.blogfolha.uol.com.br/feed/'),
        ('Josias', 'http://josiasdesouza.blogosfera.uol.com.br/feed/'),
        ('Milton Neves', 'http://blogmiltonneves.bol.uol.com.br/feed/'),
        ('Noblat', 'http://noblat.oglobo.globo.com/rss/ultimas.feed')
    ,(u'Mercado', u'http://feeds.folha.uol.com.br/mercado/rss091.xml')
    ,(u'Mundo', u'http://feeds.folha.uol.com.br/mundo/rss091.xml')
    ,(u'Esporte', u'http://feeds.folha.uol.com.br/esporte/rss091.xml')
    ,(u'Comida', u'http://feeds.folha.uol.com.br/comida/rss091.xml')
    ,(u'Tec', u'http://feeds.folha.uol.com.br/tec/rss091.xml')
    ,(u'Ilustrada', u'http://feeds.folha.uol.com.br/ilustrada/rss091.xml')
    ,(u'Opiniao', u'http://feeds.folha.uol.com.br/opiniao/rss091.xml')
    ,(u'Ci\xEAncia', u'http://feeds.folha.uol.com.br/ciencia/rss091.xml')
    ,(u'Equil\xEDbrio e Sa\xFAde', u'http://feeds.folha.uol.com.br/equilibrioesaude/rss091.xml')
    ,(u'Elio Gaspari', u'http://feeds.folha.uol.com.br/colunas/eliogaspari/rss091.xml')
    ,(u'Tati Bernardi', u'http://feeds.folha.uol.com.br/colunas/tatibernardi/rss091.xml')
    ,(u'PVC', u'http://feeds.folha.uol.com.br/colunas/pvc/rss091.xml')
    ,(u'Clóvis Rossi', u'http://feeds.folha.uol.com.br/colunas/clovisrossi/rss091.xml')
    ,(u'Hélio Schwartsman', u'http://feeds.folha.uol.com.br/colunas/helioschwartsman/rss091.xml')
    ,(u'Janio de Freitas', u'http://feeds.folha.uol.com.br/colunas/janiodefreitas/rss091.xml')
    ,(u'João Pereira Coutinho', u'http://feeds.folha.uol.com.br/colunas/joaopereiracoutinho/rss091.xml')
    ,(u'Juca', u'http://feeds.folha.uol.com.br/colunas/jucakfouri/rss091.xml')
    ,(u'Vinicius Torres Freitas', u'http://feeds.folha.uol.com.br/colunas/viniciustorres/rss091.xml')
    ,(u'Monica Bergamo', u'http://feeds.folha.uol.com.br/colunas/monicabergamo/rss091.xml')
    ,(u'Alexandre Schwartsman', u'http://feeds.folha.uol.com.br/colunas/alexandreschwartsman/rss091.xml')    
    ,(u'Vinicius Mota', u'http://feeds.folha.uol.com.br/colunas/viniciusmota/rss091.xml')
    ,(u'Tostao', u'http://feeds.folha.uol.com.br/colunas/tostao/rss091.xml')
    ,(u'Reinaldo Azevedo', u'http://feeds.folha.uol.com.br/colunas/reinaldoazevedo/rss091.xml')
    ,(u'Contardo', u'http://feeds.folha.uol.com.br/colunas/contardocalligaris/rss091.xml')

    ,(u'Samuel Pessoa', u'http://feeds.folha.uol.com.br/colunas/samuelpessoa/rss091.xml')
    ,(u'Onbudsman', u'http://feeds.folha.uol.com.br/colunas/paula-cesarino-costa-ombudsman/rss091.xml')  
    ,('Mariliz Pereira', 'http://feeds.folha.uol.com.br/colunas/marilizpereirajorge/rss091.xml')
        ,('X', 'http://xdesexo.blogfolha.uol.com.br/feed/')
    ]
Bola de Fogo is offline   Reply With Quote
Old 03-15-2018, 12:47 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...9dddd13bebd72a
kovidgoyal is offline   Reply With Quote
Old 03-15-2018, 08:17 AM   #3
bobbysteel
Big Poppa
bobbysteel began at the beginning.
 
Posts: 110
Karma: 10
Join Date: Jul 2010
Device: Nook
To fix the cover image you probably want to pull it from the print edition page by taking it from class=c-edition-cover__header from here http://www1.folha.uol.com.br/fsp/

you can look at the NYTimes for a similar approach I think
bobbysteel is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated recipe for Folha de Sao Paulo (Brazil) XaleM Recipes 2 02-04-2018 05:44 PM
Folha de Sao Paulo [Printed edition] recipe broken William_M_S Recipes 24 10-24-2017 04:36 AM
New recipe for Folha de Sao Paulo - printed version joaobertacchi Recipes 3 06-16-2013 12:51 AM
Request: Folha de Sao Paulo (Brazil) from UOL portal luis.nando Recipes 6 09-27-2011 09:04 AM
Upgrade recipe for Folha de São Paulo and Estadão with cover euleralves Recipes 4 03-31-2011 01:02 AM


All times are GMT -4. The time now is 05:15 AM.


MobileRead.com is a privately owned, operated and funded community.