mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-09 15:26:53 +02:00
URL to galleries changed
This commit is contained in:
@@ -101,7 +101,7 @@ public class VscoRipper extends AbstractHTMLRipper {
|
|||||||
|
|
||||||
private String getUserTkn(String username) {
|
private String getUserTkn(String username) {
|
||||||
String userinfoPage = "https://vsco.co/content/Static/userinfo";
|
String userinfoPage = "https://vsco.co/content/Static/userinfo";
|
||||||
String referer = "https://vsco.co/" + username + "/images/1";
|
String referer = "https://vsco.co/" + username + "/gallery";
|
||||||
Map<String,String> cookies = new HashMap<>();
|
Map<String,String> cookies = new HashMap<>();
|
||||||
cookies.put("vs_anonymous_id", UUID.randomUUID().toString());
|
cookies.put("vs_anonymous_id", UUID.randomUUID().toString());
|
||||||
try {
|
try {
|
||||||
@@ -116,7 +116,7 @@ public class VscoRipper extends AbstractHTMLRipper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private String getUserName() {
|
private String getUserName() {
|
||||||
Pattern p = Pattern.compile("^https?://vsco.co/([a-zA-Z0-9-]+)/images/[0-9]+");
|
Pattern p = Pattern.compile("^https?://vsco.co/([a-zA-Z0-9-]+)/gallery(/)?");
|
||||||
Matcher m = p.matcher(url.toExternalForm());
|
Matcher m = p.matcher(url.toExternalForm());
|
||||||
|
|
||||||
if (m.matches()) {
|
if (m.matches()) {
|
||||||
@@ -200,7 +200,7 @@ public class VscoRipper extends AbstractHTMLRipper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Member profile (Usernames should all be different, so this should work.
|
//Member profile (Usernames should all be different, so this should work.
|
||||||
p = Pattern.compile("^https?://vsco.co/([a-zA-Z0-9-]+)/images/[0-9]+");
|
p = Pattern.compile("^https?://vsco.co/([a-zA-Z0-9-]+)/gallery(/)?");
|
||||||
m = p.matcher(url.toExternalForm());
|
m = p.matcher(url.toExternalForm());
|
||||||
|
|
||||||
if (m.matches()){
|
if (m.matches()){
|
||||||
|
Reference in New Issue
Block a user