Closed linus727 closed 3 years ago
you're right there's no english chapters for this manga yet somehow you found 151 chapters. well it should throw an error like this because i don't break the program if no chapters were found.
fetching manga info 'Title' 'description' 'status' based on your language setting.
No altTitles with that language found; using default title.
fetching chapters info 'available languages' 'available volumes if any' 'available chapters' 'total chapters (language independent)'.fetching 'chapter list by language' 'total chapters by language.'
found 0 out of 4468 for en
getting a server url to download the images from.
[]
Traceback (most recent call last):
File "C:\Users\sydie\.github\mangadex-py\mangadex-py.py", line 4, in <module>
main()
File "C:\Users\sydie\.github\mangadex-py\mangadex_py\util.py", line 14, in main
real_main(args.url, langwithindex, args.quality_mode, args.destination, args.max_threads, args.name)
File "C:\Users\sydie\.github\mangadex-py\mangadex_py\main.py", line 21, in main
base_url = chapter.base_url_fetch(chap_list)
File "C:\Users\sydie\.github\mangadex-py\mangadex_py\chapters.py", line 18, in base_url_fetch
base_url = requests.get(f"{api_url_home}{lang_chap_list[0][-1]}").json()["baseUrl"]
IndexError: list index out of range ```
In bulk download mode, this now aborts the script and is not switching to the next manga in line.
should be fixed now.
Works fine for me too. :)
that's good to know.
i'm sorry for the inconvenience.
And thank you for reporting all the issues to make the project better.
For this Manga I have this error on startup. Maybe because there are no English chapters available, but it shouldn't trow an error like this, or?