mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
there's already another dw de recipe and this one doesn't work anymore.
This commit is contained in:
parent
70af443b95
commit
5627a9a061
@ -1,29 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
|
||||||
|
|
||||||
|
|
||||||
class AdvancedUserRecipe1398527969(BasicNewsRecipe):
|
|
||||||
title = u'DW-Deutsch XXL'
|
|
||||||
language = 'de_DE'
|
|
||||||
__author__ = 'xav'
|
|
||||||
oldest_article = 7
|
|
||||||
max_articles_per_feed = 100
|
|
||||||
auto_cleanup = True
|
|
||||||
no_stylesheets = True
|
|
||||||
use_embedded_content = False
|
|
||||||
remove_javascript = True
|
|
||||||
feeds = [(u'Nachrichten', u'http://rss.dw.com/xml/rss-de-news'),
|
|
||||||
(u'Themen des Tages', u'http://rss.dw.com/xml/rss-de-top'),
|
|
||||||
(u'Langsam gesprochene Nachrichten',
|
|
||||||
u'https://rss.dw.com/rdf/DKfeed_lgn_de'),
|
|
||||||
(u'Wissenschaft', u'https://rss.dw.com/xml/rss-de-wissenschaft'),
|
|
||||||
(u'Wirtschaft', u'https://rss.dw.com/xml/rss-de-eco'),
|
|
||||||
(u'Wort der Woche',
|
|
||||||
u'https://rss.dw.com/xml/DKpodcast_wortderwoche_de'),
|
|
||||||
(u'Deutschland entdecken',
|
|
||||||
u'http://rss.dw.com/xml/rss-de-deutschlandentdecken')]
|
|
||||||
|
|
||||||
def print_version(self, url):
|
|
||||||
target = url.rpartition('/')[2]
|
|
||||||
print_url = 'https://www.dw-world.de/popups/popup_printcontent/' + target
|
|
||||||
return print_url
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
Loading…
x
Reference in New Issue
Block a user