Fix #7420 (Update for recipe Danas)

This commit is contained in:
Kovid Goyal 2010-11-05 10:10:03 -06:00
parent df089451c5
commit ec8c58f3f2

View File

@ -59,6 +59,9 @@ class Danas(BasicNewsRecipe):
,(re.compile(u'\u201d'), lambda match: '”') # right double quotation mark ,(re.compile(u'\u201d'), lambda match: '”') # right double quotation mark
,(re.compile(u'\u201e'), lambda match: '“') # double low-9 quotation mark ,(re.compile(u'\u201e'), lambda match: '“') # double low-9 quotation mark
,(re.compile(u'\u201f'), lambda match: '”') # double high-reversed-9 quotation mark ,(re.compile(u'\u201f'), lambda match: '”') # double high-reversed-9 quotation mark
,(re.compile(u'\u00f4'), lambda match: '“') # latin small letter o with circumflex
,(re.compile(u'\u00f6'), lambda match: '”') # latin small letter o with dieaeresis
,(re.compile(u'\u00e1'), lambda match: ' ' ) # latin small letter a with acute
] ]
keep_only_tags = [dict(name='div', attrs={'id':'left'})] keep_only_tags = [dict(name='div', attrs={'id':'left'})]