mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 09:58:38 +01:00
parent
cf248c225a
commit
abd51bb197
1 changed files with 3 additions and 1 deletions
|
|
@ -231,7 +231,8 @@ def decode_url_date(self, url):
|
|||
re.compile('^module'),
|
||||
re.compile('commentCount'),
|
||||
'lede-container',
|
||||
'credit'
|
||||
'credit',
|
||||
'caption-video'
|
||||
]}),
|
||||
dict(
|
||||
attrs={'class': lambda x: x and 'related-coverage-marginalia' in x.split()}),
|
||||
|
|
@ -255,6 +256,7 @@ def decode_url_date(self, url):
|
|||
dict(name='div', attrs={'class': re.compile('nocontent')}),
|
||||
dict(name='div', attrs={'id': re.compile('respond')}), # open
|
||||
dict(name='div', attrs={'class': re.compile('entry-tags')}), # pogue
|
||||
dict(name='h4', attrs={'class': 'headline'}),
|
||||
dict(id=[
|
||||
'adxLeaderboard',
|
||||
'pagelinks',
|
||||
|
|
|
|||
Loading…
Reference in a new issue