mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
19 lines
618 B
Plaintext
19 lines
618 B
Plaintext
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
class AstroNEWS(BasicNewsRecipe):
|
|
title = u'AstroNEWS'
|
|
__author__ = 'fenuks'
|
|
description = 'AstroNEWS- astronomy every day'
|
|
category = 'astronomy, science'
|
|
language = 'pl'
|
|
oldest_article = 8
|
|
max_articles_per_feed = 100
|
|
auto_cleanup = True
|
|
cover_url='http://news.astronet.pl/img/logo_news.jpg'
|
|
# no_stylesheets= True
|
|
feeds = [(u'Wiadomości', u'http://news.astronet.pl/rss.cgi')]
|
|
|
|
def print_version(self, url):
|
|
return url.replace('astronet.pl/', 'astronet.pl/print.cgi?')
|
|
|