mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-07-31 11:00:13 +02:00
Fixed deviantArt description ripping again
Forgot to change an "a" to a "span", fixed now.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user