mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
there is something else under this domain now...
This commit is contained in:
parent
317d56727d
commit
cb45c68c31
@ -1,43 +0,0 @@
|
|||||||
#!/usr/bin/env python2
|
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
__license__ = 'GPL v3'
|
|
||||||
__copyright__ = u'Łukasz Grąbczewski 2013'
|
|
||||||
__version__ = '1.0'
|
|
||||||
|
|
||||||
'''
|
|
||||||
bachormagazyn.pl
|
|
||||||
'''
|
|
||||||
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
|
||||||
|
|
||||||
class bachormagazyn(BasicNewsRecipe):
|
|
||||||
__author__ = u'Łukasz Grączewski'
|
|
||||||
title = u'Bachor Magazyn'
|
|
||||||
description = u'Alternatywny magazyn o alternatywach rodzicielstwa'
|
|
||||||
language = 'pl'
|
|
||||||
publisher = 'Bachor Mag.'
|
|
||||||
publication_type = 'magazine'
|
|
||||||
masthead_url = 'http://bachormagazyn.pl/wp-content/uploads/2011/10/bachor_header1.gif'
|
|
||||||
no_stylesheets = True
|
|
||||||
remove_javascript = True
|
|
||||||
use_embedded_content = False
|
|
||||||
remove_empty_feeds = True
|
|
||||||
|
|
||||||
oldest_article = 32 #monthly +1
|
|
||||||
max_articles_per_feed = 100
|
|
||||||
|
|
||||||
feeds = [
|
|
||||||
(u'Bezradnik dla nieudacznych rodziców', u'http://bachormagazyn.pl/feed/')
|
|
||||||
]
|
|
||||||
|
|
||||||
keep_only_tags = []
|
|
||||||
keep_only_tags.append(dict(name = 'div', attrs = {'id' : 'content'}))
|
|
||||||
|
|
||||||
remove_tags = []
|
|
||||||
remove_tags.append(dict(attrs = {'id' : 'nav-above'}))
|
|
||||||
remove_tags.append(dict(attrs = {'id' : 'nav-below'}))
|
|
||||||
remove_tags.append(dict(attrs = {'id' : 'comments'}))
|
|
||||||
remove_tags.append(dict(attrs = {'class' : 'entry-info'}))
|
|
||||||
remove_tags.append(dict(attrs = {'class' : 'comments-link'}))
|
|
||||||
remove_tags.append(dict(attrs = {'class' : 'sharedaddy sd-sharing-enabled'}))
|
|
Binary file not shown.
Before Width: | Height: | Size: 620 B |
Loading…
x
Reference in New Issue
Block a user