mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Handling missig feed on page importer.
This commit is contained in:
parent
63125fd83f
commit
2b83ccabc1
1 changed files with 3 additions and 1 deletions
|
@ -170,7 +170,9 @@ class PageImporter(object):
|
|||
def _fetch_story(self):
|
||||
html = None
|
||||
story_permalink = self.story.story_permalink
|
||||
|
||||
|
||||
if not self.feed:
|
||||
return
|
||||
if any(story_permalink.startswith(s) for s in BROKEN_PAGES):
|
||||
return
|
||||
if any(s in story_permalink.lower() for s in BROKEN_PAGE_URLS):
|
||||
|
|
Loading…
Add table
Reference in a new issue