Update Bangkok Post

Fixes #1877045 [No news content when fetching news from the Bangkok Post](https://bugs.launchpad.net/calibre/+bug/1877045)
This commit is contained in:
Kovid Goyal 2020-06-05 11:26:04 +05:30
parent 646bae2043
commit c7bb19ea53
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -47,8 +47,7 @@ class BangkokPostRecipe(BasicNewsRecipe):
feeds.append((u'Tech', u'http://www.bangkokpost.com/rss/data/tect.xml')) feeds.append((u'Tech', u'http://www.bangkokpost.com/rss/data/tect.xml'))
keep_only_tags = [ keep_only_tags = [
dict(itemprop='headline'), classes('article-headline articl-content'),
classes('articleContents'),
] ]
def print_version(self, url): def print_version(self, url):