mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
a3f353853a
commit
972b551ae1
@ -33,7 +33,12 @@ class TagesspiegelRSS(BasicNewsRecipe):
|
|||||||
no_javascript = True
|
no_javascript = True
|
||||||
remove_empty_feeds = True
|
remove_empty_feeds = True
|
||||||
encoding = 'utf-8'
|
encoding = 'utf-8'
|
||||||
auto_cleanup = True
|
remove_tags = [{'class':'hcf-header'}]
|
||||||
|
|
||||||
|
def print_version(self, url):
|
||||||
|
url = url.split('/')
|
||||||
|
url[-1] = 'v_print,%s?p='%url[-1]
|
||||||
|
return '/'.join(url)
|
||||||
|
|
||||||
def parse_index(self):
|
def parse_index(self):
|
||||||
soup = self.index_to_soup('http://www.tagesspiegel.de/zeitung/')
|
soup = self.index_to_soup('http://www.tagesspiegel.de/zeitung/')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user