View Single Post
Old 03-26-2016, 03:34 PM   #9
pofa
Member
pofa began at the beginning.
 
pofa's Avatar
 
Posts: 10
Karma: 10
Join Date: Mar 2016
Device: Kindle Touch 6
Magyar Nemzet - Hungarian daily news

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 AutomaticNewsRecipe

class BasicUserRecipe1458590017(AutomaticNewsRecipe):
    title          = 'Magyar Nemzet'
    oldest_article = 1
    max_articles_per_feed = 50
    auto_cleanup   = True

    feeds          = [
        ('Kiemelt', 'http://mno.hu/rss/kiemelt'),
        ('Belföld', 'http://mno.hu/rss/belfold'),
        ('Külföld', 'http://mno.hu/rss/kulfold'),
        ('Vélemény', 'http://mno.hu/rss/velemeny'),
        ('Kultúrgrund', 'http://mno.hu/rss/grund'),
        ('Gazdaság', 'http://mno.hu/rss/gazdasag'),
        ('Sport', 'http://mno.hu/rss/sport'),
        ('Tudomány \xe9s technika', 'http://mno.hu/rss/tudomany'),
        ('Életmód', 'http://mno.hu/rss/eletmod'),
    ]


Magyar Nemzet.recipe.tar.gz
pofa is offline   Reply With Quote