diff --git a/apps/rss_feeds/text_importer.py b/apps/rss_feeds/text_importer.py index 1e2479644..00624f651 100644 --- a/apps/rss_feeds/text_importer.py +++ b/apps/rss_feeds/text_importer.py @@ -187,6 +187,7 @@ class TextImporter: for img in content_imgs: # Since NewsBlur proxies all http images over https, the url can change, so acknowledge urls # that are https on the original text but http on the feed + if not img.get('src'): continue if img.get('src') in image_urls or img.get('src').replace('https:', 'http:') in image_urls: image_urls.remove(img.get('src'))