UI improvements 2

This commit is contained in:
Yuri Revich
2015-12-01 22:18:19 +03:00
parent 89683c24a8
commit d7f5787ea0
5 changed files with 45 additions and 49 deletions

View File

@@ -5,7 +5,6 @@ import com.squareup.okhttp.Response;
import org.jsoup.nodes.Document;
import java.net.URI;
import java.util.List;
import eu.kanade.mangafeed.data.database.models.Chapter;
@@ -81,14 +80,6 @@ public abstract class BaseSource {
// Get the URL of the first page that contains a source image and the page list
protected String overrideChapterUrl(String defaultPageUrl) {
if(defaultPageUrl.startsWith("http")){
try {
URI uri = new URI(defaultPageUrl);
defaultPageUrl = uri.getPath() + "?" + uri.getQuery();
}catch (Exception ignored){
return defaultPageUrl;
}
}
return defaultPageUrl;
}