1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-16 10:54:09 +02:00

Update ImagebamRipper.java

This commit is contained in:
Kevin Jiang
2018-05-12 17:58:27 -04:00
committed by GitHub
parent 1c38a86d3d
commit 96bf2ad3a7

View File

@@ -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 <meta> 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 {
}
}
}
}
}