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

audiobooks.com: list index out of range #10

Open
JunioCalu opened this issue Jan 16, 2022 · 7 comments
Open

audiobooks.com: list index out of range #10

JunioCalu opened this issue Jan 16, 2022 · 7 comments

Comments

@JunioCalu
Copy link

On Manjaro Linux 21.2.1

$ audiobook-dl -c ../cookies-audiobooks-com.txt https://www.audiobooks.com/book/stream/492141
Finding compatible source
Downloading metadata
Downloading 0 files - Bíblia Sagrada King James Atualizada - Antig… …
Traceback (most recent call last):
File "/usr/bin/audiobook-dl", line 33, in
sys.exit(load_entry_point('audiobook-dl==0.3.0', 'console_scripts', 'audiobook-dl')())
File "/usr/lib/python3.10/site-packages/audiobook_dl-0.3.0-py3.10.egg/audiobookdl/main.py", line 52, in run
File "/usr/lib/python3.10/site-packages/audiobook_dl-0.3.0-py3.10.egg/audiobookdl/download.py", line 31, in download
IndexError: list index out of range

@JunioCalu JunioCalu changed the title IndexError: list index out of range audiobooks.com: list index out of range Jan 16, 2022
@jo1gi
Copy link
Owner

jo1gi commented Jan 16, 2022

I think I have fixed the problem.

@JunioCalu
Copy link
Author

JunioCalu commented Jan 16, 2022

I think I have fixed the problem.

Thanks so much for the quick support! But the program was only able to download the first chapter of the audio book, that is, 1 hour of audio, this book is a bible, and it is 80 hours long in total. There are multiple files.

Below I leave my session cookie for you to check:
cookies-www-audiobooks-com.txt

command used: audiobook-dl -c cookies-audiobooks-com.txt https://www.audiobooks.com/book/stream/492141

@jo1gi
Copy link
Owner

jo1gi commented Jan 16, 2022

Didn't know it was possible to audiobooks with have multiple files. I only have some with single files. I will see what I can do about the problem.

@jo1gi
Copy link
Owner

jo1gi commented Jan 26, 2022

Sorry I took so long. I'm having problems reproducing your problem. All books i have checked only consists of one file, even books that are 72 hours long. I think you are missing some cookies in the cookie file. Did you export all cookies from audiobooks.com and not just www.audiobooks.com?

@JunioCalu
Copy link
Author

JunioCalu commented Jan 27, 2022

Desculpa por demorar tanto. Estou tendo problemas para reproduzir seu problema. Todos os livros que verifiquei consistem apenas em um arquivo, mesmo livros com 72 horas de duração. Acho que está faltando alguns cookies no arquivo de cookies. Você exportou todos os cookies audiobooks.come não apenas www.audiobooks.com?

I tested the download with cookies from audiobooks.com, www.audiobooks.com and with all the cookies available on the open book page, would you have an up-to-date cookie capture extension recommendation?

@jo1gi
Copy link
Owner

jo1gi commented Jan 31, 2022

would you have an up-to-date cookie capture extension recommendation?

I use https://github.com/rotemdan/ExportCookies on Firefox.

@JunioCalu
Copy link
Author

would you have an up-to-date cookie capture extension recommendation?

I use https://github.com/rotemdan/ExportCookies on Firefox.

I used the same

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

2 participants