Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please help, Filenotfounderror #56

Closed
masteoo opened this issue Sep 25, 2023 · 7 comments
Closed

Please help, Filenotfounderror #56

masteoo opened this issue Sep 25, 2023 · 7 comments

Comments

@masteoo
Copy link

masteoo commented Sep 25, 2023

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.

@masteoo masteoo changed the title Please help Please help, Filenotfounderror Sep 25, 2023
@jo1gi
Copy link
Owner

jo1gi commented Sep 25, 2023

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

@masteoo
Copy link
Author

masteoo commented Sep 26, 2023

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.

@akirataguchi115
Copy link

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

@masteoo
Copy link
Author

masteoo commented Sep 26, 2023

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

@akirataguchi115
Copy link

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?

@akirataguchi115
Copy link

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

@masteoo
Copy link
Author

masteoo commented Sep 26, 2023

Solved, thanks to All for the support. I just wrote the url in a wrong way,
https://www.storytel.com/se/sv/books/shantaram-1404854?appRedirect=true
instead of
https://www.storytel.com/se/sv/books/shantaram-1404854

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants