Skip to content

Commit

Permalink
Convert space to %20 before adding URL for later conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
metaprime committed Jan 2, 2025
1 parent b1e3771 commit 692430c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public List<String> getURLsFromPage(Document doc) {
for (Element thumb : thumbs) {
String link = thumb.attr("src").replaceAll("thumbs/th_", "");
String imgSrc = "http://nude-gals.com/" + link;
imgSrc = imgSrc.replaceAll(" ", "%20");
imageURLs.add(imgSrc);
}

Expand Down

0 comments on commit 692430c

Please sign in to comment.