1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-18 03:31:24 +02:00

Add getGid()

This commit is contained in:
EgorGornak
2017-11-28 01:11:03 +03:00
committed by GitHub
parent dc66b03c16
commit bd6359babd

View File

@@ -80,7 +80,7 @@ public class ImagearnRipper extends AbstractHTMLRipper {
try {
Document doc = getFirstPage();
String title = doc.select("h3 > strong").first().text(); // profile name
return getHost() + "_" + title + "_" + getGID();
return getHost() + "_" + title + "_" + getGID(url);
} catch (Exception e) {
// Fall back to default album naming convention
logger.warn("Failed to get album title from " + url, e);