Skip to content

Commit

Permalink
xhamster css selector shortened
Browse files Browse the repository at this point in the history
issues like RipMeApp#20. RipMeApp#21 may be solved.
  • Loading branch information
soloturn committed Jun 23, 2021
1 parent 4e7092f commit 958d093
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public List<String> getURLsFromPage(Document doc) {
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;
Expand Down

0 comments on commit 958d093

Please sign in to comment.