fix cache, MangaLEL +search
[nikiroo-utils.git] / src / be / nikiroo / fanfix / supported / MangaFox.java
index 5dee0d6a9f95cd2bf4e420dbf9cec38bca3322fa..dae2d314f900d79a70c5d6237667d007a9a616dd 100644 (file)
@@ -336,8 +336,8 @@ class MangaFox extends BasicSupport {
         */
        private InputStream openEx(String url) throws IOException {
                try {
-                       return Instance.getCache().open(new URL(url), this, true,
-                                       withoutQuery(url));
+                       return Instance.getCache().open(new URL(url), withoutQuery(url),
+                                       this, true);
                } catch (Exception e) {
                        // second chance
                        try {
@@ -345,8 +345,8 @@ class MangaFox extends BasicSupport {
                        } catch (InterruptedException ee) {
                        }
 
-                       return Instance.getCache().open(new URL(url), this, true,
-                                       withoutQuery(url));
+                       return Instance.getCache().open(new URL(url), withoutQuery(url),
+                                       this, true);
                }
        }