File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
src/main/java/com/rarchives/ripme/ripper Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11package com .rarchives .ripme .ripper ;
22
3- import java .io .File ;
43import java .io .IOException ;
54import java .net .MalformedURLException ;
65import java .net .URI ;
98import java .nio .file .Files ;
109import java .nio .file .Path ;
1110import java .util .List ;
12- import java .util .stream .Stream ;
1311
1412import org .json .JSONObject ;
1513
Original file line number Diff line number Diff line change 1919
2020import com .rarchives .ripme .ripper .AbstractHTMLRipper ;
2121import com .rarchives .ripme .utils .Http ;
22- import com .rarchives .ripme .utils .Utils ;
2322
2423public class HentaifoundryRipper extends AbstractHTMLRipper {
2524
Original file line number Diff line number Diff line change 22
33import java .io .IOException ;
44import java .net .MalformedURLException ;
5+ import java .net .URISyntaxException ;
56import java .net .URL ;
67import java .util .ArrayList ;
78import java .util .List ;
@@ -71,7 +72,7 @@ public String getHost() {
7172 }
7273
7374 @ Override
74- public String getAlbumTitle () throws MalformedURLException {
75+ public String getAlbumTitle () throws MalformedURLException , URISyntaxException {
7576 if (firstPage == null ) {
7677 try {
7778 firstPage = Http .url (url ).get ();
@@ -82,7 +83,7 @@ public String getAlbumTitle() throws MalformedURLException {
8283
8384 String title = firstPage .select ("#info > h1" ).text ();
8485 if (title == null ) {
85- return getAlbumTitle ();
86+ return super . getAlbumTitle ();
8687 }
8788 return "nhentai" + title ;
8889 }
You can’t perform that action at this time.
0 commit comments