mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-17 19:26:34 +02:00
Change to originalURL parsing resulted in a different exception if it's malformed, so handle those and refuse to rip
This commit is contained in:
@@ -256,7 +256,7 @@ public class ChanRipper extends AbstractHTMLRipper {
|
||||
URL originalURL;
|
||||
try {
|
||||
originalURL = new URI(href).toURL();
|
||||
} catch (MalformedURLException e) {
|
||||
} catch (MalformedURLException | URISyntaxException | IllegalArgumentException e) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user