Comments (9)
I've released a new version with @ajsnyde changes.
from bandcampdownloader.
I could add that as an option. I don't feel confident setting infinite retries by default because that would induce a lot of network requests for nothing if for some reason you let the program work and Bandcamp is blocking you.
from bandcampdownloader.
Thanks!
P.S> Something like exponential backoff could be used for infinite retires, so we don't flood Bandcamp with requests.
from bandcampdownloader.
I've created a partial workaround here:
25bb3e9
In summary, you can change the number of retries indirectly through the json settings file. Good luck, and let me know if that works.
I'm plan to add the retry strategy soon.
from bandcampdownloader.
See comments and changes here: ajsnyde@73bc604
"Added retry cooldown settings. DownloadRetryCooldown can be set, which puts the application to sleep after each failed attempt to download (in seconds). DownloadRetryExponential Can be set to increase the cooldown with each successive failed attempt. Default values of 0.0 and 1.0 should leave the application running as it does without this commit. After a little experimentation, I found that using 0.2 seconds and 2.0 exponential factor, and 7 DownloaddMaxTries prevents all failures. I am unable to "spam out" the service and not get my album/songs. All of these settings must be set using the json settings file. master"
I've added two more properties to the settings file. As a quick reminder, you will need to re-save your settings file and then edit the values for these changes to take effect.
from bandcampdownloader.
The thing is, I don't know how the Bandcamp anti-spam filter works. I'll have to do some tests in order to see if waiting between retries would be enough (maybe they're blocking the download of the particular song until you try to download another one... there's a lot of possibilities here).
from bandcampdownloader.
If you could provide me with test case (request log or something), I probably could make simple PowerShell script that will d/l files with configurable delays. This'll make it easier to run tests with reproducible results.
from bandcampdownloader.
@Otiel Mind if I give this feature a go? I'd use a spinner for retries, with a combobox for exponential backoff strategy. Alternatively, I can create a little option bar/window on the top rail if needed.
from bandcampdownloader.
@ajsnyde If you can work something out, be my guest.
from bandcampdownloader.
Related Issues (20)
- Image loading error blocks the whole download 1.4.1 HOT 1
- Crash on Windows 11 22623.741 HOT 7
- FATAL System.IO.IOException The process cannot access the file HOT 2
- Crashes when doing right-click or into settings - System.InvalidProgramException HOT 9
- Could not retrieve data for https://... HOT 5
- Download MIDI files? HOT 1
- DirectoryNotFoundException HOT 1
- Unhandled Error Im using Ubuntu OS HOT 1
- Unhandled Exception HOT 3
- Zero download speed HOT 1
- String maybeFullPath error HOT 1
- it messed up :( log contents below HOT 1
- Unhandled Error HOT 1
- how do you run this HOT 1
- Write album description to .txt
- Application no longer functions HOT 2
- CLI features? HOT 1
- BandcampDownloader not starting HOT 1
- Download FLAC/WAV from Bandcamp, when it's free HOT 2
- v1.4.1 crash trying artwork download on http HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bandcampdownloader.