mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Sync to trunk.
This commit is contained in:
commit
fc75a8060a
@ -3,7 +3,7 @@ from calibre.ebooks.BeautifulSoup import BeautifulSoup
|
|||||||
|
|
||||||
class TheIndependent(BasicNewsRecipe):
|
class TheIndependent(BasicNewsRecipe):
|
||||||
title = u'The Independent'
|
title = u'The Independent'
|
||||||
language = 'en_UK'
|
language = 'en_GB'
|
||||||
__author__ = 'Krittika Goyal'
|
__author__ = 'Krittika Goyal'
|
||||||
oldest_article = 1 #days
|
oldest_article = 1 #days
|
||||||
max_articles_per_feed = 25
|
max_articles_per_feed = 25
|
||||||
|
@ -876,7 +876,7 @@ class Device(DeviceConfig, DevicePlugin):
|
|||||||
if tag.startswith(_('News')):
|
if tag.startswith(_('News')):
|
||||||
extra_components.append('News')
|
extra_components.append('News')
|
||||||
c = sanitize(mdata.title if mdata.title else '')
|
c = sanitize(mdata.title if mdata.title else '')
|
||||||
c = c.split('[')[0].strip()
|
#c = c.split('[')[0].strip()
|
||||||
if c:
|
if c:
|
||||||
extra_components.append(c)
|
extra_components.append(c)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user