git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 1.4.2: fix for images documents...
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
fanfix
/
supported
/
E621.java
diff --git
a/src/be/nikiroo/fanfix/supported/E621.java
b/src/be/nikiroo/fanfix/supported/E621.java
index cde7f0a45045db5239e6155f44a265c12a59e9b1..05d122e68b89efc71587fda628f9b17e720736d7 100644
(file)
--- a/
src/be/nikiroo/fanfix/supported/E621.java
+++ b/
src/be/nikiroo/fanfix/supported/E621.java
@@
-46,10
+46,11
@@
class E621 extends BasicSupport {
meta.setUuid(source.toString());
meta.setLuid("");
meta.setLang("EN");
meta.setUuid(source.toString());
meta.setLuid("");
meta.setLang("EN");
- meta.setSubject("");
+ meta.setSubject("
Furry
");
meta.setType(getType().toString());
meta.setImageDocument(true);
meta.setCover(getCover(source));
meta.setType(getType().toString());
meta.setImageDocument(true);
meta.setCover(getCover(source));
+ meta.setFakeCover(true);
return meta;
}
return meta;
}
@@
-91,7
+92,7
@@
class E621 extends BasicSupport {
String images = getChapterContent(new URL(source.toString() + "?page="
+ 1), in, 1);
if (!images.isEmpty()) {
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);
if (pos >= 0) {
images = images.substring(1, pos - 1);
return getImage(this, null, images);
@@
-267,7
+268,7
@@
class E621 extends BasicSupport {
id = id.substring(0, dotPos);
builder.append("[");
builder.append(id);
id = id.substring(0, dotPos);
builder.append("[");
builder.append(id);
- builder.append("]
\n
");
+ builder.append("]
<br/>
");
}
}
}
}
}
}