mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-01 19:40:18 +02:00
Merge Zizki Page layout change #1885
https://github.com/RipMeApp/ripme/pull/1885
This commit is contained in:
@@ -87,14 +87,12 @@ public class ZizkiRipper extends AbstractHTMLRipper {
|
|||||||
if (thumb.hasAttr("typeof")) {
|
if (thumb.hasAttr("typeof")) {
|
||||||
img_type = thumb.attr("typeof");
|
img_type = thumb.attr("typeof");
|
||||||
if (img_type.equals("foaf:Image")) {
|
if (img_type.equals("foaf:Image")) {
|
||||||
LOGGER.debug("Found image with " + img_type);
|
|
||||||
if (thumb.parent() != null &&
|
if (thumb.parent() != null &&
|
||||||
thumb.parent().parent() != null &&
|
thumb.parent().attr("class") != null &&
|
||||||
thumb.parent().parent().attr("class") != null &&
|
thumb.parent().attr("class").contains("colorbox")
|
||||||
thumb.parent().parent().attr("class").equals("aimage-center")
|
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
src = thumb.attr("src");
|
src = thumb.parent().attr("href");
|
||||||
LOGGER.debug("Found url with " + src);
|
LOGGER.debug("Found url with " + src);
|
||||||
if (!src.contains("zizki.com")) {
|
if (!src.contains("zizki.com")) {
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user