Error when validating or starting download
Message :: no string between '' and '' was found
To Fix:
In File JumboFilesFileRunner.java --
# 1 - Change function to:
private void checkNameAndSize(String content) throws ErrorDuringDownloadingException {
httpFile.setFileName(PlugUtils.getStringBetween(content, "
Download File ", "
"));
PlugUtils.checkFileSize(httpFile, content, " (", ")");
httpFile.setFileState(FileState.CHECKED_AND_EXISTING);
}
# 2 - Copy and paste these lines, so this happens twice in a row, in function
public void run() throws Exception {
. . .
. . .
httpMethod = getMethodBuilder()
.setReferer(fileURL)
.setBaseURL(fileURL)
.setActionFromFormWhereTagContains("method_free", true)
.removeParameter("method_premium")
.toPostMethod();
if (!makeRedirectedRequest(httpMethod)) {
checkDownloadProblems();//if downloading failed
logger.warning(getContentAsString());//log the info
throw new PluginImplementationException();//some unknown problem
}
checkDownloadProblems();
. . .
. . .
}
And in plugin.xml ---
# 3 - Update version info line
id="jumbofiles.com" vendor="tong2shot+birchie" version="1.0.1">