Skip to content

Commit

Permalink
πŸ› Don't raise an error when a podcast has no episodes
Browse files Browse the repository at this point in the history
  • Loading branch information
jh0ker committed Jul 31, 2024
1 parent 152bcc2 commit 6ddf218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion okr/scrapers/podcasts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def _scrape_feed_episode_map(podcast):
reversed(
list(
uri.replace("spotify:episode:", "")
for uri in licensed_episodes["episodes"].keys()
for uri in licensed_episodes.get("episodes", {}).keys()
)
)
)
Expand Down

0 comments on commit 6ddf218

Please sign in to comment.