1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-01-17 12:48:24 +01:00

update tkn URL

This commit is contained in:
holysoles 2022-08-27 20:08:48 +00:00 committed by soloturn
parent 827cc13398
commit a06ca35472

View File

@ -101,13 +101,10 @@ public class VscoRipper extends AbstractHTMLRipper {
}
private String getUserTkn(String username) {
String userinfoPage = "https://vsco.co/content/Static/userinfo";
String referer = "https://vsco.co/" + username + "/gallery";
Map<String,String> cookies = new HashMap<>();
String userTokenPage = "https://vsco.co/content/Static";
Map<String,String> responseCookies = new HashMap<>();
cookies.put("vs_anonymous_id", UUID.randomUUID().toString());
try {
Response resp = Http.url(userinfoPage).cookies(cookies).referrer(referer).ignoreContentType().response();
Response resp = Http.url(userTokenPage).ignoreContentType().response();
responseCookies = resp.cookies();
return responseCookies.get("vs");
} catch (IOException e) {