mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
mainly indentation
This commit is contained in:
parent
b201c488e5
commit
99df29c9ed
@ -8,8 +8,6 @@ michalkiewicz.pl
|
|||||||
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
#
|
|
||||||
|
|
||||||
class michalkiewicz(BasicNewsRecipe):
|
class michalkiewicz(BasicNewsRecipe):
|
||||||
title = u'Stanis\u0142aw Michalkiewicz'
|
title = u'Stanis\u0142aw Michalkiewicz'
|
||||||
description = u'Strona autorska * felietony * artyku\u0142y * komentarze'
|
description = u'Strona autorska * felietony * artyku\u0142y * komentarze'
|
||||||
@ -23,4 +21,3 @@ class michalkiewicz(BasicNewsRecipe):
|
|||||||
remove_tags = [dict(name='ul', attrs={'class':'menu'})]
|
remove_tags = [dict(name='ul', attrs={'class':'menu'})]
|
||||||
|
|
||||||
feeds = [(u'Teksty', u'http://www.michalkiewicz.pl/rss.xml')]
|
feeds = [(u'Teksty', u'http://www.michalkiewicz.pl/rss.xml')]
|
||||||
|
|
||||||
|
@ -37,4 +37,3 @@ class rynek_kolejowy(BasicNewsRecipe):
|
|||||||
segment = url.split('/')
|
segment = url.split('/')
|
||||||
urlPart = segment[3]
|
urlPart = segment[3]
|
||||||
return 'http://www.rynek-kolejowy.pl/drukuj.php?id=' + urlPart
|
return 'http://www.rynek-kolejowy.pl/drukuj.php?id=' + urlPart
|
||||||
|
|
||||||
|
@ -70,5 +70,3 @@ class RzeczpospolitaRecipe(BasicNewsRecipe):
|
|||||||
forget, sep, index = rest.rpartition(',')
|
forget, sep, index = rest.rpartition(',')
|
||||||
|
|
||||||
return start + '/' + index + '?print=tak'
|
return start + '/' + index + '?print=tak'
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,5 +22,5 @@ class samcik(BasicNewsRecipe):
|
|||||||
|
|
||||||
remove_tags =[]
|
remove_tags =[]
|
||||||
remove_tags.append(dict(name = 'table', attrs = {'border' : '0'}))
|
remove_tags.append(dict(name = 'table', attrs = {'border' : '0'}))
|
||||||
|
|
||||||
feeds = [(u'Wpisy', u'http://samcik.blox.pl/rss2')]
|
feeds = [(u'Wpisy', u'http://samcik.blox.pl/rss2')]
|
||||||
|
@ -22,4 +22,3 @@ class swiatczytnikow(BasicNewsRecipe):
|
|||||||
remove_tags = [dict(name = 'ul', attrs = {'class' : 'similar-posts'})]
|
remove_tags = [dict(name = 'ul', attrs = {'class' : 'similar-posts'})]
|
||||||
|
|
||||||
preprocess_regexps = [(re.compile(u'<h3>Czytaj dalej:</h3>'), lambda match: '')]
|
preprocess_regexps = [(re.compile(u'<h3>Czytaj dalej:</h3>'), lambda match: '')]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user