mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
646bae2043
commit
c7bb19ea53
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user