Skip to content

Commit

Permalink
"No articles found!" message
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdanbobrowski committed Nov 16, 2024
1 parent 5e3270f commit a8cb9cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blog2epub/crawlers/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ def _get_pages_urls(self, sitemap_url: str) -> list[str] | None:
self.interface.print(f"Skipping {self.configuration.skip} of them.")
except ValueError:
pass
else:
self.interface.print("No articles found!")
return pages

def _set_root_title(self, url: str | None = None):
Expand Down

0 comments on commit a8cb9cf

Please sign in to comment.