Closed Toylerrr closed 1 month ago
hey, does this occur when its trying to combine the files, can you check the download folder and see the size of each file if all have same size it means its an issue in the combining process
yes it does seem to have downloaded all the chunks then sits at 99%
will look into it. did you try again and faced same issue ? in some cases due to some i/o issue it can happen when you re-run script it should be fixed but if not then might be a bug somewhere
Fresh try this AM after a server restart to see if that was the issue. Still sitting at 99%. Just a note I was troubleshooting a lot when I posted originally and I couldn't get it to work with gamevault.
Interestingly enough if I do a non-multi segment download it does complete but doesn't give me the files just the JSON as a zip and says 401 error. Password is guaranteed correct.
{ "message": "Unauthorized", "statusCode": 401 }
Interestingly enough if I do a non-multi segment download it does complete but doesn't give me the files just the JSON as a zip and says 401 error. Password is guaranteed correct.
{ "message": "Unauthorized", "statusCode": 401 }
this is certainly weird if password was correct. what about size is it displaying any and you are passing it as aiohttp.basicauth right
Fresh try this AM after a server restart to see if that was the issue. Still sitting at 99%. Just a note I was troubleshooting a lot when I posted originally and I couldn't get it to work with gamevault.
ah now that i am looking, try and change name to something without whitespace that could be causing the combination not occur, try to set name to something like "booth" or something anything without white spaces also make sure the path doesn't have white spaces too. currently i am a bit busy i will try to reproduce it tomorrow sorry for the delay.
and another thing try and download with previous version of pypdl v1.3.2 ( note: there are change to class and attributes can check doc of 1.3.2 tag for more details)
with commit https://github.com/mjishnu/pypdl/commit/4fb506b3c6f720ac0a9a80aa25f83da77085a729 the issue regarding Unauthorized status while using single segment download has been fixed, it was caused by a typo
the issue regarding download stuck at 99% this is because of incorrect segment size which is caused due the a bug in Gamevault server. it was accepting non-inclusive range headers this is not a standarad practice as range headers should be inclusive
i have opened an issue regarding this in Gamevault repo: https://github.com/Phalcode/gamevault-backend/issues/298
Thank you, this is something that I never would have figured out. I greatly appreciate your assistance and look forward to this fix on the pypdl as well as your fix on the gamevault repo.
I'm trying to use this package to download a files from a Gamevault server. This is the API endpoint that I am using. The auth seems to work and it will download the file segments but once it hits 99% it halts and just sits there.
would you happen to have any insight on how I can get this to work?