jo1gi / audiobook-dl

Audiobook CLI downloader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please help, Filenotfounderror

masteoo opened this issue · comments

Hello to All, sorry, could anyone kindly help me to run this program, please? I am a new user stuck here and I am not a programmer, don't know what to do now

raise FileNotFoundError(self)
FileNotFoundError: /data/data/com.termux/files/usr/lib/python3.11/site-packages/audiobook_dl-0.6.2-py3.11.egg/audiobookdl/assets/simple_help.txt

Thank you very much for your time and help.

Try running it without -c. That's only necessary if you provide a cookie file.

Try running it without -c. That's only necessary if you provide a cookie file.

@jo1gi hello, thanks for the hint, it works but now I am stuck here:(
Don't know why, I have also downloaded my audiobook in offline library.
Don't know if it's normal that I don't see the password typed.
Thanks a lot and sorry for my ignorance.

This is most likely normal that the password is not shown. To double-check: have you added the book in your bookshelf?

This is most likely normal that the password is not shown. To double-check: have you added the book in your bookshelf?

@akirataguchi115 hello, thank you. Yes, I am listening to it in my app. Please note that it's not possible to listen to audiobooks directly in Storytel website but only in the app. On the website now it is only possible to see library but not to listen to it. Thanks again

Could you show a screenshot of the book added to your bookshelf in the app? Also Could you try to do this inside the clone and not Downloads folder?

That line tells that the program cannot find the book from your bookshelf. Could you try with a wrong username, re-check password and change a book if that would change the error message?

def find_book_info(bookshelf, book_id: str):
"""
Find book matching book_id in user bookshelf
:param bookshelf: Users current listening boooks
:param book_id: Id of book to download
:returns: Book information
"""
bookshelf = bookshelf.json()
for book in bookshelf["books"]:
if book["book"]["consumableId"] == book_id:
return book
raise MissingBookAccess