1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-17 03:14:03 +02:00

Merge pull request #1272 from Tush-r/fsktr

Fixed FuskatorRipper not ripping some images.
This commit is contained in:
cyian-1756
2019-04-09 14:19:22 -05:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ public class FuskatorRipper extends AbstractHTMLRipper {
@Override
public String getGID(URL url) throws MalformedURLException {
Pattern p = Pattern.compile("^.*fuskator.com/full/([a-zA-Z0-9\\-]+).*$");
Pattern p = Pattern.compile("^.*fuskator.com/full/([a-zA-Z0-9\\-~]+).*$");
Matcher m = p.matcher(url.toExternalForm());
if (m.matches()) {
return m.group(1);

View File

@@ -10,6 +10,11 @@ public class FuskatorRipperTest extends RippersTest {
FuskatorRipper ripper = new FuskatorRipper(new URL("https://fuskator.com/thumbs/hqt6pPXAf9z/Shaved-Blonde-Babe-Katerina-Ambre.html"));
testRipper(ripper);
}
public void testUrlsWithTiled() throws IOException {
FuskatorRipper ripper = new FuskatorRipper(new URL("https://fuskator.com/thumbs/hsrzk~UIFmJ/Blonde-Babe-Destiny-Dixon-Playing-With-Black-Dildo.html"));
testRipper(ripper);
}
}
// Disabled because of https://github.com/RipMeApp/ripme/issues/393