From: David ‘Bombe’ Roden Date: Wed, 24 Apr 2013 05:20:55 +0000 (+0200) Subject: Search image tag correctly. X-Git-Tag: v2~293 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a48a26ca6e87db48b2b1b9fa127baec39e42ebda;p=rhynodge.git Search image tag correctly. --- diff --git a/src/main/java/net/pterodactylus/rhynodge/filters/comics/CtrlAltDelComicFilter.java b/src/main/java/net/pterodactylus/rhynodge/filters/comics/CtrlAltDelComicFilter.java index 97b30c4..7401369 100644 --- a/src/main/java/net/pterodactylus/rhynodge/filters/comics/CtrlAltDelComicFilter.java +++ b/src/main/java/net/pterodactylus/rhynodge/filters/comics/CtrlAltDelComicFilter.java @@ -42,7 +42,7 @@ public class CtrlAltDelComicFilter extends ComicSiteFilter { @Override protected List extractImageUrls(Document document) { - Elements imageTags = document.select(".content img"); + Elements imageTags = document.select("#content img"); return FluentIterable.from(imageTags).transform(new Function() { @Override @@ -54,7 +54,7 @@ public class CtrlAltDelComicFilter extends ComicSiteFilter { @Override protected List extractImageComments(Document document) { - Elements imageTags = document.select(".content img"); + Elements imageTags = document.select("#content img"); return FluentIterable.from(imageTags).transform(new Function() { @Override