- [ ] Fix eHentai "content warning" access
- [ ] Fix the configuration system (for new or changed options, new or changed languages)
- [ ] remote import also download the file in cache, why?
- - [ ] import file in remote mode tries to import remote file!!
+ - [x] import file in remote mode tries to import remote file!!
- [ ] import file does not find author in cbz with SUMMARY file
- [ ] import file:// creates a tmp without auto-deletion in /tmp/fanfic-...
@Override
// Could work (more slowly) without it
public Story imprt(final URL url, Progress pg) throws IOException {
+ // Import the file locally if it is actually a file
+ if (url == null || url.getProtocol().equalsIgnoreCase("file")) {
+ return super.imprt(url, pg);
+ }
+
+ // Import it remotely if it is an URL
+
if (pg == null) {
pg = new Progress();
}