mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
New recipe for sg.hu by davotibarna
This commit is contained in:
parent
00a747ca22
commit
bd467d3295
16
resources/recipes/sg_hu.recipe
Normal file
16
resources/recipes/sg_hu.recipe
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class SGhu(BasicNewsRecipe):
|
||||||
|
title = u'SG.hu'
|
||||||
|
__author__ = 'davotibarna'
|
||||||
|
description = u'Informatika \xe9s Tudom\xe1ny'
|
||||||
|
language = 'hu'
|
||||||
|
oldest_article = 5
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
no_stylesheets = True
|
||||||
|
encoding = 'ISO-8859-2'
|
||||||
|
|
||||||
|
feeds = [(u'SG.hu', u'http://www.sg.hu/plain/rss.xml')]
|
||||||
|
|
||||||
|
def print_version(self, url):
|
||||||
|
return url.replace('cikkek/', 'printer.php?cid=')
|
Loading…
x
Reference in New Issue
Block a user