mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'patch-3' of https://github.com/Kennyl/calibre
This commit is contained in:
commit
6bae2473a0
@ -39,7 +39,9 @@ class AppleDaily(BasicNewsRecipe):
|
|||||||
extra_css = 'img {display: block; margin-left: auto; margin-right: auto; margin-top: 10px; margin-bottom: 10px; max-height:90%;} h1 {font-size:125%; text-align:left; font-weight:bold;} p{font-size:90%;} p[class=video-caption] {font-size:50%; margin-left:auto; margin-right:auto;}' # noqa
|
extra_css = 'img {display: block; margin-left: auto; margin-right: auto; margin-top: 10px; margin-bottom: 10px; max-height:90%;} h1 {font-size:125%; text-align:left; font-weight:bold;} p{font-size:90%;} p[class=video-caption] {font-size:50%; margin-left:auto; margin-right:auto;}' # noqa
|
||||||
keep_only_tags = [dict(name='div', attrs={'id': 'content-article'})]
|
keep_only_tags = [dict(name='div', attrs={'id': 'content-article'})]
|
||||||
remove_tags = [dict(name='div', attrs={'class': 'prev-next-btn'}),
|
remove_tags = [dict(name='div', attrs={'class': 'prev-next-btn'}),
|
||||||
dict(name='p', attrs={'class': 'next'})]
|
dict(name='p', attrs={'class': 'next'}),
|
||||||
|
dict(name='meta'),
|
||||||
|
dict(name='link')]]
|
||||||
|
|
||||||
def get_dtlocal(self):
|
def get_dtlocal(self):
|
||||||
dt_utc = datetime.datetime.utcnow()
|
dt_utc = datetime.datetime.utcnow()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user