mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove broken Polish recipes
This commit is contained in:
parent
3710b46c3c
commit
8154607cc1
@ -1,13 +0,0 @@
|
|||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
|
||||||
|
|
||||||
class GreenLinux(BasicNewsRecipe):
|
|
||||||
title = u'GreenLinux.pl'
|
|
||||||
__author__ = 'fenuks'
|
|
||||||
category = 'IT'
|
|
||||||
language = 'pl'
|
|
||||||
cover_url = 'http://lh5.ggpht.com/_xd_6Y9kXhEc/S8tjyqlfhfI/AAAAAAAAAYU/zFNTp07ZQko/top.png'
|
|
||||||
oldest_article = 15
|
|
||||||
max_articles_per_feed = 100
|
|
||||||
auto_cleanup = True
|
|
||||||
|
|
||||||
feeds = [(u'Newsy', u'http://feeds.feedburner.com/greenlinux')]
|
|
@ -1,18 +0,0 @@
|
|||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
|
||||||
import re
|
|
||||||
class naczytniki(BasicNewsRecipe):
|
|
||||||
title = u'naczytniki.pl'
|
|
||||||
__author__ = 'fenuks'
|
|
||||||
masthead_url= 'http://naczytniki.pl/wp-content/uploads/2010/08/logo_nc28.png'
|
|
||||||
cover_url = 'http://naczytniki.pl/wp-content/uploads/2010/08/logo_nc28.png'
|
|
||||||
language = 'pl'
|
|
||||||
description ='everything about e-readers'
|
|
||||||
category='e-readers'
|
|
||||||
no_stylesheets=True
|
|
||||||
use_embedded_content=False
|
|
||||||
oldest_article = 7
|
|
||||||
max_articles_per_feed = 100
|
|
||||||
preprocess_regexps = [(re.compile(ur'<p><br><b>Zobacz także:</b></p>.*?</body>', re.DOTALL), lambda match: '</body>') ]
|
|
||||||
keep_only_tags=[dict(name='div', attrs={'class':'post'})]
|
|
||||||
remove_tags=[dict(name='span', attrs={'class':'comments'}), dict(name='div', attrs={'class':'sociable'})]
|
|
||||||
feeds = [(u'Wpisy', u'http://naczytniki.pl/?feed=rss2')]
|
|
Loading…
x
Reference in New Issue
Block a user