mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d58692854a
commit
7774eb6916
@ -38,6 +38,7 @@ class LaJornada_mx(BasicNewsRecipe):
|
||||
.loc{font-weight: bold}
|
||||
.carton{text-align: center}
|
||||
.credit{font-weight: bold}
|
||||
.sumario{font-weight: bold; text-align: center}
|
||||
.text{margin-top: 1.4em}
|
||||
p.inicial{display: inline; font-size: xx-large; font-weight: bold}
|
||||
p.s-s{display: inline; text-indent: 0}
|
||||
@ -53,7 +54,10 @@ class LaJornada_mx(BasicNewsRecipe):
|
||||
preprocess_regexps = [
|
||||
(re.compile( r'<div class="inicial">(.*)</div><p class="s-s">'
|
||||
,re.DOTALL|re.IGNORECASE)
|
||||
,lambda match: '<p class="inicial">' + match.group(1) + '</p><p class="s-s">')
|
||||
,lambda match: '<p class="inicial">' + match.group(1) + '</p><p class="s-s">'),
|
||||
(re.compile( r'<q>(.*?)</q>'
|
||||
,re.DOTALL|re.IGNORECASE)
|
||||
,lambda match: '"' + match.group(1) + '"')
|
||||
]
|
||||
|
||||
keep_only_tags = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user