Fixed deviantArt description ripping again

Forgot to change an "a" to a "span", fixed now.
This commit is contained in:
Wiiplay123 2017-04-25 21:18:03 -05:00
parent c3d1c7b654
commit 8da945a8fe

View File

@ -180,9 +180,9 @@ public class DeviantartRipper extends AbstractHTMLRipper {
@Override @Override
public List<String> getDescriptionsFromPage(Document page) { public List<String> getDescriptionsFromPage(Document page) {
List<String> textURLs = new ArrayList<String>(); List<String> textURLs = new ArrayList<String>();
// Iterate over all thumbnails // Iterate over all thumbnails
for (Element thumb : page.select("div.zones-container a.thumb")) { for (Element thumb : page.select("div.zones-container span.thumb")) {
logger.info(thumb.attr("href"));
if (isStopped()) { if (isStopped()) {
break; break;
} }
@ -191,6 +191,7 @@ public class DeviantartRipper extends AbstractHTMLRipper {
continue; // a.thumbs to other albums are invisible continue; // a.thumbs to other albums are invisible
} }
textURLs.add(thumb.attr("href")); textURLs.add(thumb.attr("href"));
} }
return textURLs; return textURLs;
} }