mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
this site became a wrapper for a facebook page...
This commit is contained in:
parent
d7adc0758e
commit
3a942a43fe
@ -1,18 +0,0 @@
|
|||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
|
||||||
import re
|
|
||||||
class Astronomia_pl(BasicNewsRecipe):
|
|
||||||
title = u'Astronomia.pl'
|
|
||||||
__author__ = 'fenuks'
|
|
||||||
description = u'Astronomia.pl jest edukacyjnym portalem skierowanym do uczniów, studentów i miłośników astronomii. Przedstawiamy gwiazdy, planety, galaktyki, czarne dziury i wiele innych tajemnic Wszechświata.'
|
|
||||||
masthead_url = 'http://www.astronomia.pl/grafika/logo.gif'
|
|
||||||
cover_url = 'http://www.astronomia.pl/grafika/logo.gif'
|
|
||||||
category = 'astronomy, science'
|
|
||||||
language = 'pl'
|
|
||||||
oldest_article = 8
|
|
||||||
max_articles_per_feed = 100
|
|
||||||
extra_css='#h2 {font-size: 18px;}'
|
|
||||||
no_stylesheets=True
|
|
||||||
preprocess_regexps = [(re.compile(ur'<b>Przeczytaj także:.*?</BODY>', re.DOTALL), lambda match: '</BODY>') ]
|
|
||||||
remove_tags_before=dict(name='div', attrs={'id':'a1'})
|
|
||||||
keep_only_tags=[dict(name='div', attrs={'id':['a1', 'h2']})]
|
|
||||||
feeds = [(u'Wiadomości z astronomii i astronautyki', u'http://www.astronomia.pl/rss/')]
|
|
Binary file not shown.
Before Width: | Height: | Size: 546 B |
Loading…
x
Reference in New Issue
Block a user