summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unbiased/sources/bbc.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/unbiased/sources/bbc.py b/unbiased/sources/bbc.py
index 0dd0f80..caceced 100644
--- a/unbiased/sources/bbc.py
+++ b/unbiased/sources/bbc.py
@@ -24,3 +24,7 @@ class BBC(NewsSource):
h3s = tuple(x.find('a', class_='title-link')['href'] for x in h3s)
return h1s, h2s, h3s
+
+ @classmethod
+ def _get_image(cls, soup):
+ return soup.find('meta', property='og:image')['content'].replace('branded_news', 'cpsprodpb')