mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Bloomberg
This commit is contained in:
parent
9bda4443ba
commit
104614612f
@ -68,10 +68,10 @@ class Bloomberg(BasicNewsRecipe):
|
|||||||
}
|
}
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(name=['button', 'svg', 'meta']),
|
dict(name=['button', 'svg', 'meta', 'iframe']),
|
||||||
dict(name='div', attrs={'id':['bb-that', 'bb-nav']}),
|
dict(name='div', attrs={'id':['bb-that', 'bb-nav']}),
|
||||||
dict(attrs={'data-image-type':'audio'}),
|
dict(attrs={'data-image-type':'audio'}),
|
||||||
classes('twitter-logo bb-global-footer __sticky__audio__bar__portal__ css--social-wrapper-outer')
|
classes('twitter-logo bb-global-footer __sticky__audio__bar__portal__ css--social-wrapper-outer bplayer-container')
|
||||||
]
|
]
|
||||||
|
|
||||||
extra_css = '''
|
extra_css = '''
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
# vim:fileencoding=utf-8
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import time
|
import time
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
@ -61,10 +64,10 @@ class Bloomberg(BasicNewsRecipe):
|
|||||||
cover_url = 'https://assets.bwbx.io/images/users/iqjWHBFdfxIU/ivUxvlPidC3M/v0/600x-1.jpg'
|
cover_url = 'https://assets.bwbx.io/images/users/iqjWHBFdfxIU/ivUxvlPidC3M/v0/600x-1.jpg'
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(name=['button', 'svg', 'meta']),
|
dict(name=['button', 'svg', 'meta', 'iframe']),
|
||||||
dict(name='div', attrs={'id':['bb-that', 'bb-nav']}),
|
dict(name='div', attrs={'id':['bb-that', 'bb-nav']}),
|
||||||
dict(attrs={'data-image-type':'audio'}),
|
dict(attrs={'data-image-type':'audio'}),
|
||||||
classes('twitter-logo bb-global-footer __sticky__audio__bar__portal__ css--social-wrapper-outer')
|
classes('twitter-logo bb-global-footer __sticky__audio__bar__portal__ css--social-wrapper-outer bplayer-container')
|
||||||
]
|
]
|
||||||
|
|
||||||
extra_css = '''
|
extra_css = '''
|
||||||
|
@ -28,7 +28,7 @@ class WSJ(BasicNewsRecipe):
|
|||||||
title = 'The Wall Street Journal'
|
title = 'The Wall Street Journal'
|
||||||
__author__ = 'unkn0wn'
|
__author__ = 'unkn0wn'
|
||||||
description = (
|
description = (
|
||||||
'The Wall Street Journal is your source for breaking news, analysis and insights from the U.S. and '
|
'The Print Edition of WSJ. The Wall Street Journal is your source for breaking news, analysis and insights from the U.S. and '
|
||||||
'around the world, the world\'s leading business and finance publication.'
|
'around the world, the world\'s leading business and finance publication.'
|
||||||
)
|
)
|
||||||
language = 'en_US'
|
language = 'en_US'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user