Update Bloomberg

This commit is contained in:
unkn0w7n 2024-08-04 09:21:12 +05:30
parent 9bda4443ba
commit 104614612f
3 changed files with 8 additions and 5 deletions

View File

@ -68,10 +68,10 @@ class Bloomberg(BasicNewsRecipe):
}
remove_tags = [
dict(name=['button', 'svg', 'meta']),
dict(name=['button', 'svg', 'meta', 'iframe']),
dict(name='div', attrs={'id':['bb-that', 'bb-nav']}),
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 = '''

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
# vim:fileencoding=utf-8
import json
import time
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'
remove_tags = [
dict(name=['button', 'svg', 'meta']),
dict(name=['button', 'svg', 'meta', 'iframe']),
dict(name='div', attrs={'id':['bb-that', 'bb-nav']}),
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 = '''

View File

@ -28,7 +28,7 @@ class WSJ(BasicNewsRecipe):
title = 'The Wall Street Journal'
__author__ = 'unkn0wn'
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.'
)
language = 'en_US'