mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-09-02 18:33:13 +02:00
1.0.41 - Properly strip out https flickr links #32
This commit is contained in:
@@ -44,7 +44,9 @@ public class FlickrRipper extends AlbumRipper {
|
||||
|
||||
public URL sanitizeURL(URL url) throws MalformedURLException {
|
||||
String sUrl = url.toExternalForm();
|
||||
sUrl = sUrl.replace("secure.flickr.com", "flickr.com");
|
||||
// Strip out https
|
||||
sUrl = sUrl.replace("https://secure.flickr.com", "http://www.flickr.com");
|
||||
// For /groups/ links, add a /pool to the end of the URL
|
||||
if (sUrl.contains("flickr.com/groups/") && !sUrl.contains("/pool")) {
|
||||
if (!sUrl.endsWith("/")) {
|
||||
sUrl += "/";
|
||||
|
@@ -21,7 +21,7 @@ import com.rarchives.ripme.utils.Utils;
|
||||
public class UpdateUtils {
|
||||
|
||||
private static final Logger logger = Logger.getLogger(UpdateUtils.class);
|
||||
private static final String DEFAULT_VERSION = "1.0.40";
|
||||
private static final String DEFAULT_VERSION = "1.0.41";
|
||||
private static final String updateJsonURL = "http://rarchives.com/ripme.json";
|
||||
private static final String updateJarURL = "http://rarchives.com/ripme.jar";
|
||||
private static final String mainFileName = "ripme.jar";
|
||||
|
Reference in New Issue
Block a user