Fix indentation.
This commit is contained in:
parent
3d359be958
commit
2055cb0d9d
@ -132,7 +132,8 @@ public class DeviantartRipper extends AbstractHTMLRipper {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
script = script.substring(script.indexOf(id));
|
script = script.substring(script.indexOf(id));
|
||||||
script = script.substring(script.indexOf("},\"src\":\"") + 9, script.indexOf("\",\"type\"")); // first },"src":"url" after id
|
// first },"src":"url" after id
|
||||||
|
script = script.substring(script.indexOf("},\"src\":\"") + 9, script.indexOf("\",\"type\""));
|
||||||
return script.replace("\\/", "/");
|
return script.replace("\\/", "/");
|
||||||
} catch (StringIndexOutOfBoundsException e) {
|
} catch (StringIndexOutOfBoundsException e) {
|
||||||
logger.debug("Unable to get json link from " + page.location());
|
logger.debug("Unable to get json link from " + page.location());
|
||||||
|
Loading…
Reference in New Issue
Block a user