mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1880314 [BBC News fetch fails - conversion error](https://bugs.launchpad.net/calibre/+bug/1880314)
This commit is contained in:
parent
849bdc6040
commit
d909d2effc
@ -608,6 +608,8 @@ class BBCNews(BasicNewsRecipe):
|
|||||||
# blank / missing / empty articles which have an index title and then no
|
# blank / missing / empty articles which have an index title and then no
|
||||||
# body.
|
# body.
|
||||||
def print_version(self, url):
|
def print_version(self, url):
|
||||||
|
if url.startswith("https://www.bbc.co.uk/news/world-51235105"):
|
||||||
|
self.abort_article("This article contains a gigantic coronavirus table")
|
||||||
|
|
||||||
# Handle sports page urls type 01:
|
# Handle sports page urls type 01:
|
||||||
if (url.find("go/rss/-/sport1/") != -1):
|
if (url.find("go/rss/-/sport1/") != -1):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user