mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Infra.pl and Spider's Web by fenuks
This commit is contained in:
parent
798ad00029
commit
6f420c50e1
BIN
recipes/icons/infra_pl.png
Normal file
BIN
recipes/icons/infra_pl.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
17
recipes/infra_pl.recipe
Normal file
17
recipes/infra_pl.recipe
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class INFRA(BasicNewsRecipe):
|
||||||
|
title = u'INFRA'
|
||||||
|
oldest_article = 7
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
__author__ = 'fenuks'
|
||||||
|
description = u'Serwis Informacyjny INFRA - UFO, Zjawiska Paranormalne, Duchy, Tajemnice świata.'
|
||||||
|
cover_url = 'http://npn.nazwa.pl/templates/ja_teline_ii/images/logo.jpg'
|
||||||
|
category = 'UFO'
|
||||||
|
language = 'pl'
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
no_stylesheers=True
|
||||||
|
remove_tags_before=dict(name='h2', attrs={'class':'contentheading'})
|
||||||
|
remove_tags_after=dict(attrs={'class':'pagenav'})
|
||||||
|
remove_tags=[dict(attrs={'class':'pagenav'})]
|
||||||
|
feeds = [(u'Najnowsze wiadomo\u015bci', u'http://www.infra.org.pl/index.php?option=com_rd_rss&id=1')]
|
BIN
recipes/spiders_web_pl.png
Normal file
BIN
recipes/spiders_web_pl.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 605 B |
15
recipes/spiders_web_pl.recipe
Normal file
15
recipes/spiders_web_pl.recipe
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class SpidersWeb(BasicNewsRecipe):
|
||||||
|
title = u"Spider's Web"
|
||||||
|
oldest_article = 7
|
||||||
|
__author__ = 'fenuks'
|
||||||
|
description = u''
|
||||||
|
cover_url = 'http://www.spidersweb.pl/wp-content/themes/spiderweb/img/Logo.jpg'
|
||||||
|
category = 'IT, WEB'
|
||||||
|
language = 'pl'
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
remove_tags_before=dict(name="h1", attrs={'class':'Title'})
|
||||||
|
remove_tags_after=dict(name="div", attrs={'class':'Text'})
|
||||||
|
remove_tags=[dict(name='div', attrs={'class':['Tags', 'CommentCount FloatL', 'Show FloatL']})]
|
||||||
|
feeds = [(u'Wpisy', u'http://www.spidersweb.pl/feed')]
|
Loading…
x
Reference in New Issue
Block a user