mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Pro-linux.de by Bobus
This commit is contained in:
parent
388859a209
commit
9ed480327f
15
resources/recipes/pro_linux_de.recipe
Normal file
15
resources/recipes/pro_linux_de.recipe
Normal file
@ -0,0 +1,15 @@
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
class AdvancedUserRecipe1295265555(BasicNewsRecipe):
|
||||
title = u'Pro-Linux.de'
|
||||
language = 'de'
|
||||
__author__ = 'Bobus'
|
||||
oldest_article = 3
|
||||
max_articles_per_feed = 100
|
||||
|
||||
feeds = [(u'Pro-Linux', u'http://www.pro-linux.de/backend/pro-linux.rdf')]
|
||||
|
||||
def print_version(self, url):
|
||||
return url.replace('/news/1/', '/news/1/print/').replace('/artikel/2/', '/artikel/2/print/')
|
||||
|
||||
remove_tags_after = [dict(name='div', attrs={'class':'print_links'})]
|
Loading…
x
Reference in New Issue
Block a user