X-Git-Url: http://git.nikiroo.be/?p=fanfix.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fsupported%2FE621.java;h=602cd36309250e03de7291c4f46784b7171ccc93;hp=c3a261bd78af518da82b9b72c40eb088a2161026;hb=7345d22206e6ff1571dfaef6795aff7007e50bcb;hpb=6ee0545e523eb9271e7cfb204674cf2ed99eef48 diff --git a/src/be/nikiroo/fanfix/supported/E621.java b/src/be/nikiroo/fanfix/supported/E621.java index c3a261b..602cd36 100644 --- a/src/be/nikiroo/fanfix/supported/E621.java +++ b/src/be/nikiroo/fanfix/supported/E621.java @@ -186,7 +186,7 @@ class E621 extends BasicSupport { } source = new URL(base + "/pools/" + poolNumber); } catch (NumberFormatException e) { - // Not a simple ppol, skip + // Not a simple pool, skip } catch (MalformedURLException e) { // Cannot happen } @@ -247,19 +247,19 @@ class E621 extends BasicSupport { title = el.text().trim(); } - for (String s : new String[] { "e621", "-", "e621" }) { + for (String s : new String[] { "e621", "-", "e621", "Pool", "-" }) { if (title.startsWith(s)) { title = title.substring(s.length()).trim(); } if (title.endsWith(s)) { title = title.substring(0, title.length() - s.length()).trim(); } - } if (isSearchOrSet(getSource())) { title = title.isEmpty() ? "e621" : "[e621] " + title; } + return title; }