You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying earlier to download some anime (as we do with animdl), and when trying the following : animdl download -d $VID/../../anime/ -q 720 -r 3-24 'animeout:Sword Art Online: Alicization' I got this error : ValueError: invalid literal for int() with base 10: '18.5'
Did the error occur in between an active task (download / stream / grab)?
This was during the scrapping part
Screenshots [Optional]
Not really screenshots but here is the reason for the bug : animeout labeled one episode as 18.5 (a recap episode if I remember correctly from last time I watched). The error log shows why there is this error :
As we can see, the episode number is 18.5. I think this is a marginal issue, it doesn't happen often, but that's still a bit frustrating.
Maybe putting an option to ignore these "half" episode would solve the problem. The main thing here is that animdl will straight up refuse to download any episode because one of them has an incorrect number.
Additional information
animdl, version 1.7.12
provider is animeout
I also tried to use animdl download -d $VID/../../anime/ -q 720 -r 3-17,19-24 'animeout:Sword Art Online: Alicization' and animdl download -d $VID/../../anime/ -q 720 -r 3-17 'animeout:Sword Art Online: Alicization' but that didn't work either.
The text was updated successfully, but these errors were encountered:
I'm not sure if this would work all the time because I'm not familiar enough with the code of the project but at least i was able to download the episode 3. I think this downloaded in 1080 instead of 720 considering the size of the video file, so definitely not a good fix.
Sorry, I forgot to mention the file. It's the same file as the one mentioned in the error, ie /home/my_name/.local/lib/python3.10/site-packages/animdl/core/codebase/helpers/__init__.py. This may differ depending on your system. I replaced the lines 51 to 54 by the code above.
It will just ignore recap episodes, and ignoring the problem instead of fixing the root issue is not a good fix, but it works for now.
Describe the bug
I was trying earlier to download some anime (as we do with
animdl
), and when trying the following :animdl download -d $VID/../../anime/ -q 720 -r 3-24 'animeout:Sword Art Online: Alicization'
I got this error :ValueError: invalid literal for int() with base 10: '18.5'
Did the error occur in between an active task (
download
/stream
/grab
)?This was during the scrapping part
Screenshots [Optional]
Not really screenshots but here is the reason for the bug :
animeout
labeled one episode as 18.5 (a recap episode if I remember correctly from last time I watched). The error log shows why there is this error :As we can see, the episode number is 18.5. I think this is a marginal issue, it doesn't happen often, but that's still a bit frustrating.
Maybe putting an option to ignore these "half" episode would solve the problem. The main thing here is that
animdl
will straight up refuse to download any episode because one of them has an incorrect number.Additional information
animeout
I also tried to use
animdl download -d $VID/../../anime/ -q 720 -r 3-17,19-24 'animeout:Sword Art Online: Alicization'
andanimdl download -d $VID/../../anime/ -q 720 -r 3-17 'animeout:Sword Art Online: Alicization'
but that didn't work either.The text was updated successfully, but these errors were encountered: