View Single Post
Old 03-21-2016, 04:13 PM   #8
pofa
Member
pofa began at the beginning.
 
pofa's Avatar
 
Posts: 10
Karma: 10
Join Date: Mar 2016
Device: Kindle Touch 6
Múlt-Kor - Hungarian language historical portal.

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 BasicUserRecipe1458513045(AutomaticNewsRecipe):
    title          = 'Múlt-Kor'
    oldest_article = 1
    max_articles_per_feed = 50
    auto_cleanup   = True

    feeds          = [
        ('XX. század', 'http://mult-kor.hu/.scripts/rss.php?label=10'),
        ('Újkor', 'http://mult-kor.hu/.scripts/rss.php?label=14'),
        ('Középkor', 'http://mult-kor.hu/.scripts/rss.php?label=13'),
        ('Ókor', 'http://mult-kor.hu/.scripts/rss.php?label=12'),
        ('Őskor', 'http://mult-kor.hu/.scripts/rss.php?label=11'),
        ('Szakmai műhely', 'http://mult-kor.hu/.scripts/rss.php?section=3'),
        ('E-folyóirat', 'http://mult-kor.hu/.scripts/rss.php?section=8'),
        ('Évfordulók', 'http://mult-kor.hu/.scripts/rss_events.php'),
    ]

Mult-Kor.recipe.tar.gz

Last edited by PeterT; 03-21-2016 at 05:58 PM. Reason: change quote block to code block
pofa is offline   Reply With Quote