1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-30 17:20:20 +02:00

xhamster css selector shortened

issues like #20. #21 may be solved.
This commit is contained in:
soloturn
2021-03-28 09:07:54 +02:00
parent 4e7092f1a7
commit 958d0933ba

View File

@@ -159,7 +159,7 @@ public class XhamsterRipper extends AbstractHTMLRipper {
if (!isVideoUrl(url)) {
if (!doc.select("div.picture_view > div.pictures_block > div.items > div.item-container > a.item").isEmpty()) {
// Old HTML structure is still present at some places
for (Element page : doc.select("div.picture_view > div.pictures_block > div.items > div.item-container > a.item")) {
for (Element page : doc.select(".clearfix > div > a.slided")) {
// Make sure we don't waste time running the loop if the ripper has been stopped
if (isStopped()) {
break;