Skip to content

Commit 6f65140

Browse files
committed
Better logs
1 parent 3e4eaf1 commit 6f65140

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/com/rarchives/ripme/ripper/rippers/NudeGalsRipper.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,14 @@ public String getGID(URL url) throws MalformedURLException {
4545
p = ALBUM_PATTERN;
4646
m = p.matcher(url.toExternalForm());
4747
if (m.matches()) {
48+
logger.info("Found nude-gals photo album page");
4849
return "album_" + m.group(1);
4950
}
5051

5152
p = VIDEO_PATTERN;
5253
m = p.matcher(url.toExternalForm());
5354
if (m.matches()) {
55+
logger.info("Found nude-gals video page");
5456
return "video_" + m.group(1);
5557
}
5658

@@ -70,7 +72,7 @@ public List<String> getURLsFromPage(Document doc) {
7072
p = ALBUM_PATTERN;
7173
m = p.matcher(url.toExternalForm());
7274
if (m.matches()) {
73-
logger.info("Found nude-gals photo album");
75+
logger.info("Ripping nude-gals photo album");
7476
Elements thumbs = doc.select("img.thumbnail");
7577
for (Element thumb : thumbs) {
7678
String link = thumb.attr("src").strip().replaceAll("thumbs/th_", "");
@@ -83,7 +85,7 @@ public List<String> getURLsFromPage(Document doc) {
8385
p = VIDEO_PATTERN;
8486
m = p.matcher(url.toExternalForm());
8587
if (m.matches()) {
86-
logger.info("Found nude-gals video");
88+
logger.info("Ripping nude-gals video");
8789
Elements thumbs = doc.select("video source");
8890
for (Element thumb : thumbs) {
8991
String link = thumb.attr("src").strip();

0 commit comments

Comments
 (0)