mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove date from description
This commit is contained in:
parent
b67c5a2104
commit
3d797236a2
@ -1,8 +1,6 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from __future__ import absolute_import, division, print_function, unicode_literals
|
from __future__ import absolute_import, division, print_function, unicode_literals
|
||||||
|
|
||||||
from datetime import datetime
|
|
||||||
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +20,6 @@ class germanyBSI(BasicNewsRecipe):
|
|||||||
simultaneous_downloads = 10
|
simultaneous_downloads = 10
|
||||||
# description, some Reader show this in titlepage
|
# description, some Reader show this in titlepage
|
||||||
description = u'News from BSI'
|
description = u'News from BSI'
|
||||||
# add date to description so for dayly downloads you can find them easier
|
|
||||||
# ---- can be edit by user
|
|
||||||
description = description + ' fetched: ' + \
|
|
||||||
datetime.now().strftime("%Y-%m-%d") # %H:%M:%S")
|
|
||||||
# Who published the content?
|
# Who published the content?
|
||||||
publisher = u'Newsfeeds des BSI'
|
publisher = u'Newsfeeds des BSI'
|
||||||
# What is the content of?
|
# What is the content of?
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# vim:fileencoding=utf-8
|
# vim:fileencoding=utf-8
|
||||||
from __future__ import unicode_literals, division, absolute_import, print_function
|
from __future__ import unicode_literals, division, absolute_import, print_function
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
from datetime import datetime
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
# a serarch topic, filled into the string below. You can change that to anything google news should be searched for...
|
# a serarch topic, filled into the string below. You can change that to anything google news should be searched for...
|
||||||
@ -27,10 +26,6 @@ class google_news_de(BasicNewsRecipe):
|
|||||||
simultaneous_downloads = 10
|
simultaneous_downloads = 10
|
||||||
# description, some Reader show this in titlepage
|
# description, some Reader show this in titlepage
|
||||||
description = u'Google News filter by your own recipe. Please read it in calibre software!'
|
description = u'Google News filter by your own recipe. Please read it in calibre software!'
|
||||||
# add date to description so for dayly downloads you can find them easier
|
|
||||||
# ---- can be edit by user
|
|
||||||
description = description + ' fetched: ' + \
|
|
||||||
datetime.now().strftime("%Y-%m-%d") # %H:%M:%S")
|
|
||||||
# What is the content of?
|
# What is the content of?
|
||||||
category = u'NEWS'
|
category = u'NEWS'
|
||||||
# describes itself, ---- can be edit by user
|
# describes itself, ---- can be edit by user
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
from __future__ import unicode_literals, division, absolute_import, print_function
|
from __future__ import unicode_literals, division, absolute_import, print_function
|
||||||
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
from datetime import datetime
|
|
||||||
|
|
||||||
|
|
||||||
class MyDealzDE(BasicNewsRecipe):
|
class MyDealzDE(BasicNewsRecipe):
|
||||||
@ -21,10 +20,6 @@ class MyDealzDE(BasicNewsRecipe):
|
|||||||
simultaneous_downloads = 10
|
simultaneous_downloads = 10
|
||||||
# description, some Reader show this in titlepage
|
# description, some Reader show this in titlepage
|
||||||
description = u'MyDealz - Shopping Deals for Germany'
|
description = u'MyDealz - Shopping Deals for Germany'
|
||||||
# add date to description so for dayly downloads you can find them easier
|
|
||||||
# ---- can be edit by user
|
|
||||||
description = description + ' fetched: ' + \
|
|
||||||
datetime.now().strftime("%Y-%m-%d") # %H:%M:%S")
|
|
||||||
# Who published the content?
|
# Who published the content?
|
||||||
publisher = u'https://www.mydealz.de'
|
publisher = u'https://www.mydealz.de'
|
||||||
# What is the content of?
|
# What is the content of?
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# License: 'CC-BY-4.0'
|
# License: 'CC-BY-4.0'
|
||||||
# Copyright: '2019, vohe Based on the recipe by Darko Miletic <darko.miletic at gmail.com>'
|
# Copyright: '2019, vohe Based on the recipe by Darko Miletic <darko.miletic at gmail.com>'
|
||||||
from datetime import datetime
|
|
||||||
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
'''
|
'''
|
||||||
@ -35,9 +34,6 @@ class Spiegel_DE_all(BasicNewsRecipe):
|
|||||||
# "selbst wenn Sie keinen Internet-Browser geöffnet haben. Sie können unsere Nachrichten-Feeds kostenlos abonnieren - nach Ihren Themenvorlieben.")
|
# "selbst wenn Sie keinen Internet-Browser geöffnet haben. Sie können unsere Nachrichten-Feeds kostenlos abonnieren - nach Ihren Themenvorlieben.")
|
||||||
# above a long description, but we use a shorter one
|
# above a long description, but we use a shorter one
|
||||||
description = u'Spiegel Online RSS News'
|
description = u'Spiegel Online RSS News'
|
||||||
# add fetching date to the description
|
|
||||||
description = description + ' fetched: ' + datetime.now(
|
|
||||||
).strftime("%Y-%m-%d") # %H:%M:%S")
|
|
||||||
# Who published the content?
|
# Who published the content?
|
||||||
publisher = u'SPIEGEL ONLINE Gmbh'
|
publisher = u'SPIEGEL ONLINE Gmbh'
|
||||||
cover_url = 'https://de.m.wikipedia.org/wiki/Datei:Spiegel_Online_logo.svg'
|
cover_url = 'https://de.m.wikipedia.org/wiki/Datei:Spiegel_Online_logo.svg'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user