jagodibuja: fixed formatting
This commit is contained in:
parent
f089e804fd
commit
dbb926824a
@ -21,6 +21,7 @@ public class JagodibujaRipper extends AbstractHTMLRipper {
|
|||||||
public JagodibujaRipper(URL url) throws IOException {
|
public JagodibujaRipper(URL url) throws IOException {
|
||||||
super(url);
|
super(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getHost() {
|
public String getHost() {
|
||||||
return "jagodibuja";
|
return "jagodibuja";
|
||||||
@ -58,14 +59,12 @@ public class JagodibujaRipper extends AbstractHTMLRipper {
|
|||||||
logger.info("Got link " + elem.attr("href"));
|
logger.info("Got link " + elem.attr("href"));
|
||||||
try {
|
try {
|
||||||
addURLToDownload(new URL(elem.attr("href")), "");
|
addURLToDownload(new URL(elem.attr("href")), "");
|
||||||
}
|
} catch (MalformedURLException e) {
|
||||||
catch(MalformedURLException e) {
|
|
||||||
logger.warn("Malformed URL");
|
logger.warn("Malformed URL");
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
result.add(elem.attr("href"));
|
result.add(elem.attr("href"));
|
||||||
}
|
} catch (IOException e) {
|
||||||
catch(IOException e) {
|
|
||||||
logger.info("Error loading " + comicPageUrl);
|
logger.info("Error loading " + comicPageUrl);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -78,5 +77,4 @@ public class JagodibujaRipper extends AbstractHTMLRipper {
|
|||||||
// addURLToDownload(url, getPrefix(index));
|
// addURLToDownload(url, getPrefix(index));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user