String images = getChapterContent(new URL(source.toString() + "?page="
+ 1), in, 1);
if (!images.isEmpty()) {
- int pos = images.indexOf('\n');
+ int pos = images.indexOf("<br/>");
if (pos >= 0) {
images = images.substring(1, pos - 1);
return getImage(this, null, images);
id = id.substring(0, dotPos);
builder.append("[");
builder.append(id);
- builder.append("]\n");
+ builder.append("]<br/>");
}
}
}
builder.append("[");
// to help with the retry and the originalUrl, part 1
builder.append(withoutQuery(linkImage));
- builder.append("]\n");
+ builder.append("]<br/>");
}
// to help with the retry and the originalUrl, part 2