Update ImagearnRipper.java

This commit is contained in:
EgorGornak 2017-11-28 01:03:19 +03:00 committed by GitHub
parent bc2e099093
commit bf746aadbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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