mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-28 13:45:42 +01:00
Merge branch 'oregonian_cover_url' of https://github.com/mattwellss/calibre
This commit is contained in:
commit
421fda6e5a
1 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
__docformat__ = 'restructuredtext en'
|
||||
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
from datetime import date
|
||||
|
||||
|
||||
class Oregonian(BasicNewsRecipe):
|
||||
|
|
@ -15,7 +16,7 @@ class Oregonian(BasicNewsRecipe):
|
|||
description = 'Portland, Oregon local newspaper'
|
||||
publisher = 'Advance Publications'
|
||||
category = 'news, Portland'
|
||||
cover_url = 'http://bit.ly/gUgxGd'
|
||||
cover_url = 'http://img.kiosko.net/{}/us/oregonian.750.jpg'.format(date.today().strftime('%Y/%m/%d'))
|
||||
no_stylesheets = True
|
||||
masthead_url = 'http://bit.ly/eocL70'
|
||||
remove_tags = [dict(name='div', attrs={'class': ['footer', 'content']})]
|
||||
|
|
|
|||
Loading…
Reference in a new issue