mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update reuters.recipe
This commit is contained in:
parent
a0e86f271b
commit
940df3ed4b
@ -54,9 +54,9 @@ class Reuters(BasicNewsRecipe):
|
|||||||
},
|
},
|
||||||
'spr': {
|
'spr': {
|
||||||
'short': 'Include Sports sections?',
|
'short': 'Include Sports sections?',
|
||||||
'long':'Yes/No',
|
'long': 'Yes/No',
|
||||||
'default': 'No'
|
'default': 'No',
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
@ -157,7 +157,7 @@ class Reuters(BasicNewsRecipe):
|
|||||||
|
|
||||||
body += (
|
body += (
|
||||||
'<p class="auth">'
|
'<p class="auth">'
|
||||||
+ str(data['read_minutes'])
|
+ str(data.get('read_minutes', '_'))
|
||||||
+ ' minute read | '
|
+ ' minute read | '
|
||||||
+ str(data['word_count'])
|
+ str(data['word_count'])
|
||||||
+ ' words | '
|
+ ' words | '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user