mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Kukuburi by Mori
This commit is contained in:
parent
07b0f1f7b3
commit
f192dcd3b7
37
resources/recipes/kukuburi.recipe
Normal file
37
resources/recipes/kukuburi.recipe
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
__license__ = 'GPL v3'
|
||||||
|
__author__ = 'Mori'
|
||||||
|
__version__ = 'v. 0.1'
|
||||||
|
'''
|
||||||
|
Kukuburi.com
|
||||||
|
'''
|
||||||
|
|
||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
import re
|
||||||
|
|
||||||
|
class KukuburiRecipe(BasicNewsRecipe):
|
||||||
|
__author__ = 'Mori'
|
||||||
|
language = 'en'
|
||||||
|
|
||||||
|
title = u'Kukuburi'
|
||||||
|
publisher = u'Ramón Pérez'
|
||||||
|
description =u'KUKUBURI by Ram\xc3\xb3n P\xc3\xa9rez'
|
||||||
|
|
||||||
|
no_stylesheets = True
|
||||||
|
remove_javascript = True
|
||||||
|
|
||||||
|
oldest_article = 100
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
|
||||||
|
feeds = [
|
||||||
|
(u'Kukuburi', u'http://feeds2.feedburner.com/Kukuburi')
|
||||||
|
]
|
||||||
|
|
||||||
|
preprocess_regexps = [
|
||||||
|
(re.compile(i[0], re.IGNORECASE | re.DOTALL), i[1]) for i in
|
||||||
|
[
|
||||||
|
(r'<!--.*?-->', lambda match: ''),
|
||||||
|
(r'<div class="feedflare".*?</div>', lambda match: '')
|
||||||
|
]
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user