Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Commit

Permalink
MangaHere: minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tempura-san committed Oct 3, 2017
1 parent 5decb34 commit 2a8d5e2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ public ArrayList<Manga> 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;
}
Expand Down

0 comments on commit 2a8d5e2

Please sign in to comment.