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