1
0
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:
0x1f595
2018-12-28 16:43:31 -07:00
parent 45fb6dc4e8
commit b5fc3a166a

View File

@@ -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()));
}
}