From 96bf2ad3a7d655c5d5311f36ae7491bd9620f6ec Mon Sep 17 00:00:00 2001 From: Kevin Jiang Date: Sat, 12 May 2018 17:58:27 -0400 Subject: [PATCH] Update ImagebamRipper.java --- .../com/rarchives/ripme/ripper/rippers/ImagebamRipper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/ImagebamRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/ImagebamRipper.java index b5fca14f..b33f5624 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/ImagebamRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/ImagebamRipper.java @@ -146,7 +146,7 @@ public class ImagebamRipper extends AbstractHTMLRipper { for (Element metaTag: metaTags) { //the direct link to the image seems to always be linked in the part of the html. - if(metaTag.attr("property").equals("og:image")) { + if (metaTag.attr("property").equals("og:image")) { imgsrc = metaTag.attr("content"); logger.info("Found URL " + imgsrc); break;//only one (useful) image possible for an "image page". @@ -171,4 +171,4 @@ public class ImagebamRipper extends AbstractHTMLRipper { } } } -} \ No newline at end of file +}