From 2a8d5e2f8842a6187a1ed044c5cf3639c10679ca Mon Sep 17 00:00:00 2001 From: Tempura San Date: Tue, 3 Oct 2017 20:09:12 +0200 Subject: [PATCH] MangaHere: minor changes --- .../main/java/ar/rulosoft/mimanganu/servers/MangaHere.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/ar/rulosoft/mimanganu/servers/MangaHere.java b/app/src/main/java/ar/rulosoft/mimanganu/servers/MangaHere.java index f888588e..65c101c1 100644 --- a/app/src/main/java/ar/rulosoft/mimanganu/servers/MangaHere.java +++ b/app/src/main/java/ar/rulosoft/mimanganu/servers/MangaHere.java @@ -65,11 +65,11 @@ public ArrayList getMangas() throws Exception { Matcher m = p.matcher(data); String path; while (m.find()) { - if(!m.group(2).contains("http")) + if(!m.group(2).startsWith("http")) path = "https:" + m.group(2); else path = m.group(2); - mangas.add(new Manga(ServerBase.ESMANGAHERE, m.group(1), path, false)); + mangas.add(new Manga(getServerID(), m.group(1), path, false)); } return mangas; }