Add progress reporting on GUI
[fanfix.git] / src / be / nikiroo / fanfix / supported / E621.java
index 665bdd5100cb0e7ef2b10ebc972a0c0729dca607..cde7f0a45045db5239e6155f44a265c12a59e9b1 100644 (file)
@@ -13,6 +13,7 @@ import be.nikiroo.fanfix.Instance;
 import be.nikiroo.fanfix.data.Chapter;
 import be.nikiroo.fanfix.data.MetaData;
 import be.nikiroo.fanfix.data.Story;
+import be.nikiroo.utils.Progress;
 import be.nikiroo.utils.StringUtils;
 
 /**
@@ -54,9 +55,9 @@ class E621 extends BasicSupport {
        }
 
        @Override
-       public Story process(URL url) throws IOException {
+       public Story process(URL url, Progress pg) throws IOException {
                // There is no chapters on e621, just pagination...
-               Story story = super.process(url);
+               Story story = super.process(url, pg);
 
                Chapter only = new Chapter(1, null);
                for (Chapter chap : story) {