-
Notifications
You must be signed in to change notification settings - Fork 26
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
org.zeroturnaround.zip.ZipException: java.util.zip.ZipException: zip file is empty & org.jsoup.HttpStatusException: HTTP error fetching URL #20
Comments
Hi there! Thanks for the report. That's a mysterious one. If possible, could you try manually downloading the release using your favorite browser, and check whether (1) the download goes well, and (2) the zip file is OK? |
Hi! thanks for the quick reply. I tried to re-download the executable and re-create the cookies.json file with the minimum security settings on Firefox 86, which correctly logged me into my profile from the browser, but the problem with bandcamp-collection-downloader persisted. I also tried to create an Ubuntu 18.04 AWS EC2 (Intel*) machine, installed I really hope it's not Bandcamp blacklisting us, at this point. |
Thank you for your experiments! … However, it is not exactly what I was looking for. My apologies, maybe I was not very clear with what I was asking :) Here is it rephrased: without using bandcamp-collection-downloader at all, could you manually check that the official download page of the problematic release works properly, and gives you a fully working zip?
I really don't think they do, we would get much more errors :) |
Lol sorry for the misunderstanding, now that's very clear 😃 Trying to manually download the affected releases, a "download expired" message appears for some albums, while for other albums the .zip file is downloaded correctly (I already contacted Bandcamp's assistance for that). To be assured that was not the problem, I deleted the
|
I'm seeing the same thing, but if I wait a short while and try again it works for albums it failed for previously. I suspect there's some rate limiting happening, but don't know if I'll have time for poking at it anytime soon. |
after rerunning a few time, I'm only seeing issues with one release: https://stereophonk.bandcamp.com/track/enta-humpty no download link if I browse to the page, so maybe legitimate bandcamp issue? |
edit: no I'm an idiot. Download links were there. my failing download was not a zip file a single track 'album' will download as just an mp3. |
I've done a dozen or more tests.. and noticed something unexpected: Now my knowledge of Java is extremely limited, but I didn't really know (or expect) named parameters needed to follow an order in these cases. |
also seeing a similar behavior here.. I waited maybe about 10 minutes and came back and tried again and it started resuming as expected. maybe we can ask for another argument which slows down the poll rate or something if we are hitting the API too hard? |
Tried it this morning and I also ran into what seems to be a rate-limiting issue. My collection is about 850 items, it worked for ~16 or so and then I got a ton of: [pool-1-thread-1] Found release "Kai" (2017) by te' (Bandcamp ID: p146327731). Went over to the site in Firefox and also got an error trying to download an item. Waited a few minutes and it was fine. I've run into similar errors just trying to grab things quickly from the browser via my purchases page or whatever. Bandcamp seems set up to throttle download attempts from the same account by any method. It'd be great to have a downloader I could just fire up and say "download one item every five minutes until complete" that didn't run into this. |
hey, I don't know if this is helpful for anyone.. but what worked for me was limiting the maximum thread count
seems to be an API rate limiting issue idk |
There does seem to be a rate limitation in place, and it would be indeed rather nice to have a smart way to handle that. I'll keep thinking! |
I have actually the same issue, even with I quickly patched the app to see what's going on and the The release is "Souvenirs d'Hayu Marca VI - P0010" (0000) by FB-1 (Bandcamp ID: c461186051)". (track, album) I have no idea why the app tries to download the track only and not the whole album (I do own the whole album) and I did not had more time to investigate further down... |
(dupe of #22 ?) |
Hello Ezwen and thanks for the amazing application,
after being able to download part of my Bandcamp collection over a few days with the latest
bandcamp-collection-downloader.jar
you provided on GitLab, every time I try to resume i face this errors, with no file being dowloaded:my command is always the same:
oracleJava -jar bandcamp-collection-downloar.jar -f mp3-320 profileName -d /Volumes/Esterna/Bandcamp3 -c cookies.json
(oracleJava is an alias)What I tried:
My system:
Could I ask for any help on how to be able to finish downloading my library?
Thanks in advance
The text was updated successfully, but these errors were encountered: