Add getGid()
This commit is contained in:
parent
dc66b03c16
commit
bd6359babd
@ -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 + "_" + getGID();
|
return getHost() + "_" + title + "_" + getGID(url);
|
||||||
} 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);
|
||||||
|
Loading…
Reference in New Issue
Block a user