Quote:
So the question is, how to I detect the limit before running into it?
What does JD do at the moment when it runs into the limit?
At the moment, JD tries this (well, if this is the correct limit message):
Code:
if (br.containsHTML("¿You have exceeded your image viewing limits\\. Note that you can reset these limits by going")) {
br.getPage("**External links are only visible to Support Staff**);
if (account != null) { // todo: ensure this works?
account.saveCookies(br.getCookies(MAINPAGE), "");
throw new PluginException(LinkStatus.ERROR_RETRY);
} else {
throw new PluginException(LinkStatus.ERROR_IP_BLOCKED, 2 * 60 * 60 * 1000l);
}
}
So at the moment, if it detects this limit message, it does the following:
If an account is available: Visit mainpage and try again
If no account is available: Wait 2 hours and try again (or let user change his IP, then try again immediately)
|
Unfortunately I dk much about HTMLs and code language
All I can tell is that the moment it happens this is what I've got in the programe itself
It will attmept to try and keep download forever each link till I will manually disable it, if there was a way to make it auto disable the entire package when it detetct the limit had reached (or after it detect it didn't was able to download anything from this site after, lets say, 3 attmepts) it could've been great.
Quote:
I understand your concerns but I cannot easily bling-fix everything.
I will at least need the html code containing e.g. the current "Limit reached" message.
Also, of course, if you tell me that a paid account is not required at all for this, I can easily create my own test account.
|
Oh as far as I know the site is free and open to the public although having some system that you usually see in close sites, you can even use it without user to download anything but will be more limited till you will create a free user, the main issue is that if you will want to increase the limits even further you will need to do one of that give you in-site money/points, which can be time consuming, I do willing to help but would prefer to help in anything that not relate to directly give account info,
Where I could get that html code you referred to btw?
Looking at the source codes of the page when it happened in site or something of the sort (kinda hard to do cause I didn't recahed the limit for years) or looking on some note Jdownloader left?