mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-26 15:24:51 +02:00
Simplifying prefix code
This commit is contained in:
@@ -96,12 +96,6 @@ public class JabArchivesRipper extends AbstractHTMLRipper {
|
||||
|
||||
@Override
|
||||
public void downloadURL(URL url, int index) {
|
||||
String prefix = "";
|
||||
if (itemPrefixes.containsKey(url.toString())) {
|
||||
System.out.println("Found matching prefix:");
|
||||
prefix = itemPrefixes.get(url.toString());
|
||||
System.out.println(prefix);
|
||||
}
|
||||
addURLToDownload(url, prefix);
|
||||
addURLToDownload(url, itemPrefixes.get(url.toString()));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user