Closed TrackLab closed 9 months ago
@TrackLab sorry for the late response. I implemented a code to "fix" this. Does this only happen when vidoza has maintenance? Or are there any animes where you know it happens all the time?
Issue should be resolved with latest Release. Please try again and open another Issue if its not. Thank you for bringing this to my attention.
@TrackLab sorry for the late response. I implemented a code to "fix" this. Does this only happen when vidoza has maintenance? Or are there any animes where you know it happens all the time?
it was when VOE is in maintenance mode, since that was the first attempt by the software. Oh also, you have a typo in your logging. In the "please download manually later". it says "please download manly later"
Describe the bug: So, when VEO has a video not available due to maintenance mode or whatever, the code crashes.
Steps to Reproduce the bug: Download a series, if a video is not available by VOE, the code cant handle it
Expected behavior: A NoneType Attribute Error is thrown and the code stops
Additional Info A quick way to fix it, which I quickly implemented myself: Give the find_cache_url function in search_for_links.py a try/except for the provider check. Like so:
And then use that returned None in the start_app.py Mainfunction, to check if the returned cache_url is None. If it is not, initiate the download. if it is none, print a statement, to inform the user which season/episode could not be downloaded. Like so:
The code can then simply continue onto the text episode.
I can fork the project and implement the fix myself if you want.