Quantcast
Channel: MobileRead Forums - Calibre
Viewing all articles
Browse latest Browse all 31487

ČT24 - Czech TV News Channel

$
0
0
Hi everybody,

although the Czechs are only a minority among Calibre users, I would like to add my tiny contribution to the amazing recipe database. It is only a simple recipe fetching news from RSS feed of the public Czech TV station "ČT24". It is a non-stop-based news server, the recipe fetches up to 100 articles per feed (with articles not older than 24 hours). Images are removed.

Categories (feeds) included:
Main News
Home
World
Regions
Culture
Business
Sport - Main News
Sport - 2012 Olympics

Hope this could help somebody.

Code:

class AdvancedUserRecipe1339974788(BasicNewsRecipe):
    title          = u'\u010cT24'
    oldest_article = 1
    max_articles_per_feed = 100
    auto_cleanup = True

    feeds          = [(u'Hlavn\xed zpr\xe1vy', u'http://www.ceskatelevize.cz/ct24/rss/hlavni-zpravy/'), (u'Dom\xe1c\xed', u'http://www.ceskatelevize.cz/ct24/rss/domaci/'), (u'Sv\u011bt', u'http://www.ceskatelevize.cz/ct24/rss/svet/'), (u'Regiony', u'http://www.ceskatelevize.cz/ct24/rss/regiony/'), (u'Kultura', u'http://www.ceskatelevize.cz/ct24/rss/kultura/'), (u'Ekonomika', u'http://www.ceskatelevize.cz/ct24/rss/ekonomika/'), (u'Sport - hlavn\xed zpr\xe1vy', u'http://www.ceskatelevize.cz/ct4/rss/hlavni-zpravy/'), (u'OH 2012', u'http://www.ceskatelevize.cz/ct4/rss/oh-2012/')]
    remove_tags = [dict(name='img')]


Viewing all articles
Browse latest Browse all 31487

Trending Articles