Update imagefap ripper. Closes #271
This commit is contained in:
parent
d25e285eed
commit
407a19a483
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
|||||||
<groupId>com.rarchives.ripme</groupId>
|
<groupId>com.rarchives.ripme</groupId>
|
||||||
<artifactId>ripme</artifactId>
|
<artifactId>ripme</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>1.2.1</version>
|
<version>1.2.2</version>
|
||||||
<name>ripme</name>
|
<name>ripme</name>
|
||||||
<url>http://rip.rarchives.com</url>
|
<url>http://rip.rarchives.com</url>
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -129,6 +129,7 @@ public class ImagefapRipper extends AbstractHTMLRipper {
|
|||||||
image = image.replaceAll(
|
image = image.replaceAll(
|
||||||
"http://x.*.fap.to/images/thumb/",
|
"http://x.*.fap.to/images/thumb/",
|
||||||
"http://fap.to/images/full/");
|
"http://fap.to/images/full/");
|
||||||
|
image = image.replaceAll("w[0-9]{1,}-h[0-9]{1,}/", "");
|
||||||
imageURLs.add(image);
|
imageURLs.add(image);
|
||||||
if (isThisATest()) {
|
if (isThisATest()) {
|
||||||
break;
|
break;
|
||||||
|
@ -21,7 +21,7 @@ import com.rarchives.ripme.utils.Utils;
|
|||||||
public class UpdateUtils {
|
public class UpdateUtils {
|
||||||
|
|
||||||
private static final Logger logger = Logger.getLogger(UpdateUtils.class);
|
private static final Logger logger = Logger.getLogger(UpdateUtils.class);
|
||||||
private static final String DEFAULT_VERSION = "1.2.1";
|
private static final String DEFAULT_VERSION = "1.2.2";
|
||||||
private static final String updateJsonURL = "http://rarchives.com/ripme.json";
|
private static final String updateJsonURL = "http://rarchives.com/ripme.json";
|
||||||
private static final String updateJarURL = "http://rarchives.com/ripme.jar";
|
private static final String updateJarURL = "http://rarchives.com/ripme.jar";
|
||||||
private static final String mainFileName = "ripme.jar";
|
private static final String mainFileName = "ripme.jar";
|
||||||
|
Loading…
Reference in New Issue
Block a user