From: Niki Roo Date: Sun, 5 Mar 2017 19:53:01 +0000 (+0100) Subject: Version 1.4.2: fix for images documents... X-Git-Tag: fanfix-1.4.1~2 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=406447a4c017f2a4592429a67d546a6984460617;p=fanfix.git Version 1.4.2: fix for images documents... - the images documents were not working any more --- diff --git a/VERSION b/VERSION index 347f583..9df886c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.4.1 +1.4.2 diff --git a/src/be/nikiroo/fanfix/supported/E621.java b/src/be/nikiroo/fanfix/supported/E621.java index 9315716..05d122e 100644 --- a/src/be/nikiroo/fanfix/supported/E621.java +++ b/src/be/nikiroo/fanfix/supported/E621.java @@ -92,7 +92,7 @@ class E621 extends BasicSupport { String images = getChapterContent(new URL(source.toString() + "?page=" + 1), in, 1); if (!images.isEmpty()) { - int pos = images.indexOf('\n'); + int pos = images.indexOf("
"); if (pos >= 0) { images = images.substring(1, pos - 1); return getImage(this, null, images); @@ -268,7 +268,7 @@ class E621 extends BasicSupport { id = id.substring(0, dotPos); builder.append("["); builder.append(id); - builder.append("]\n"); + builder.append("]
"); } } } diff --git a/src/be/nikiroo/fanfix/supported/Fanfiction.java b/src/be/nikiroo/fanfix/supported/Fanfiction.java index e84acaa..9073656 100644 --- a/src/be/nikiroo/fanfix/supported/Fanfiction.java +++ b/src/be/nikiroo/fanfix/supported/Fanfiction.java @@ -329,7 +329,7 @@ class Fanfiction extends BasicSupport { } builder.append(line); - builder.append('\n'); + builder.append(' '); } } diff --git a/src/be/nikiroo/fanfix/supported/MangaFox.java b/src/be/nikiroo/fanfix/supported/MangaFox.java index ba42452..d86cc73 100644 --- a/src/be/nikiroo/fanfix/supported/MangaFox.java +++ b/src/be/nikiroo/fanfix/supported/MangaFox.java @@ -312,7 +312,7 @@ class MangaFox extends BasicSupport { builder.append("["); // to help with the retry and the originalUrl, part 1 builder.append(withoutQuery(linkImage)); - builder.append("]\n"); + builder.append("]
"); } // to help with the retry and the originalUrl, part 2 diff --git a/src/be/nikiroo/fanfix/supported/YiffStar.java b/src/be/nikiroo/fanfix/supported/YiffStar.java index 0e24714..ed75b10 100644 --- a/src/be/nikiroo/fanfix/supported/YiffStar.java +++ b/src/be/nikiroo/fanfix/supported/YiffStar.java @@ -247,7 +247,7 @@ class YiffStar extends BasicSupport { if (ok) { builder.append(line); - builder.append('\n'); + builder.append(' '); } }