mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
informacjeusa.com merged with dziennikzwiazkowy.com
This commit is contained in:
parent
76be20f169
commit
76db8efbe7
19
recipes/dziennikzwiazkowy.recipe
Normal file
19
recipes/dziennikzwiazkowy.recipe
Normal file
@ -0,0 +1,19 @@
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
class Informacje_USA(BasicNewsRecipe):
|
||||
title = u'Dziennik Związkowy'
|
||||
oldest_article = 7
|
||||
max_articles_per_feed = 100
|
||||
__author__ = 'fenuks & Tomasz Długosz'
|
||||
description = u'Najstarsza polskojęzyczna gazeta codzienna w USA'
|
||||
category = 'news'
|
||||
language = 'pl'
|
||||
cover_url='http://dziennikzwiazkowy.com/wp-content/uploads/2014/08/LogoDZPDN1.png'
|
||||
no_stylesheets = True
|
||||
use_embedded_content = False
|
||||
keep_only_tags=[dict(name='div', attrs={'class':'panel'})]
|
||||
remove_tags= [dict(name='div', attrs={'class':['social-buttons left','video-carousel','p-title','article-foot','comments-block']}),dict(attrs={'id':['writecomment','blueimp-gallery']})]
|
||||
feeds = [(u'Informacje', u'http://dziennikzwiazkowy.com/feed/')]
|
||||
|
||||
extra_css = '''
|
||||
h1 { font-size:130% }
|
||||
'''
|
BIN
recipes/icons/dziennikzwiazkowy.png
Normal file
BIN
recipes/icons/dziennikzwiazkowy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 773 B |
Binary file not shown.
Before Width: | Height: | Size: 523 B |
@ -1,16 +0,0 @@
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
class Informacje_USA(BasicNewsRecipe):
|
||||
title = u'Informacje USA'
|
||||
oldest_article = 7
|
||||
max_articles_per_feed = 100
|
||||
__author__ = 'fenuks'
|
||||
description = u'portal wiadomości amerykańskich'
|
||||
category = 'news'
|
||||
language = 'pl'
|
||||
cover_url='http://www.informacjeusa.com/wp-content/uploads/2013/01/V3BANNER420-90new.jpg'
|
||||
no_stylesheets = True
|
||||
use_embedded_content = False
|
||||
keep_only_tags=[dict(id='post-area')]
|
||||
remove_tags_after= dict(id='content-area')
|
||||
remove_tags= [dict(attrs={'class':['breadcrumb']}), dict(id=['social-box', 'social-box-vert'])]
|
||||
feeds = [(u'Informacje', u'http://www.informacjeusa.com/feed/')]
|
Loading…
x
Reference in New Issue
Block a user