mainly indentation

This commit is contained in:
Tomasz Długosz 2013-03-05 00:22:37 +01:00
parent b201c488e5
commit 99df29c9ed
5 changed files with 1 additions and 8 deletions

View File

@ -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')]

View File

@ -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

View File

@ -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'

View File

@ -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')]

View File

@ -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: '')]