mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 20:16:01 +01:00
Fix #6899 (Updated recipe for Danas)
This commit is contained in:
parent
b8edfe5394
commit
8c74a347d7
1 changed files with 5 additions and 1 deletions
|
|
@ -49,7 +49,11 @@ class Danas(BasicNewsRecipe):
|
|||
, 'language' : language
|
||||
}
|
||||
|
||||
preprocess_regexps = [(re.compile(u'\u0110'), lambda match: u'\u00D0')]
|
||||
preprocess_regexps = [
|
||||
(re.compile(u'\u0110'), lambda match: u'\u00D0')
|
||||
,(re.compile(u'\u201c'), lambda match: '"')
|
||||
,(re.compile(u'\u201e'), lambda match: '"')
|
||||
]
|
||||
|
||||
keep_only_tags = [dict(name='div', attrs={'id':'left'})]
|
||||
remove_tags = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue