From 5cfd2d7b6ab6d120e083855e130f0f1dee53cd74 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Fri, 15 Jun 2018 16:45:45 -0400 Subject: [PATCH] Fixed ZikiRipper getAlbumTitle --- .../java/com/rarchives/ripme/ripper/rippers/ZizkiRipper.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/ZizkiRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/ZizkiRipper.java index d0ca82b2..efa3e25f 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/ZizkiRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/ZizkiRipper.java @@ -49,9 +49,8 @@ public class ZizkiRipper extends AbstractHTMLRipper { public String getAlbumTitle(URL url) throws MalformedURLException { try { // Attempt to use album title as GID - Element titleElement = getFirstPage().select("meta[name=description]").first(); - String title = titleElement.attr("content"); - title = title.substring(title.lastIndexOf('/') + 1); + Element titleElement = getFirstPage().select("h1.title").first(); + String title = titleElement.text(); Element authorSpan = getFirstPage().select("span[class=creator]").first(); String author = authorSpan.select("a").first().text();