Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jo1gi/audiobook-dl
Browse files Browse the repository at this point in the history
  • Loading branch information
jo1gi committed Aug 29, 2023
2 parents 5dce30f + 5e8c786 commit 29b1856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audiobookdl/sources/storytel.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def get_chapters(self, book_info) -> List[Chapter]:


def download_cover(self, book_info) -> Cover:
isbn = book_info["abook"]["iisbn"]
isbn = book_info["abook"]["isbn"]
cover_url = f"https://www.storytel.com/images/{isbn}/640x640/cover.jpg"
cover_data = self.get(cover_url)
return Cover(cover_data, "jpg")

0 comments on commit 29b1856

Please sign in to comment.