mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-23 14:02:54 +02:00
Custom Login possible now
This commit is contained in:
@@ -157,6 +157,8 @@ public class DeviantartRipper extends AbstractHTMLRipper {
|
||||
*/
|
||||
private void login() throws IOException {
|
||||
|
||||
String customUsername = Utils.getConfigString("DeviantartCustomLoginUsername", this.username);
|
||||
String customPassword = Utils.getConfigString("DeviantartCustomLoginPassword", this.password);
|
||||
try {
|
||||
String dACookies = Utils.getConfigString(utilsKey, null);
|
||||
updateCookie(dACookies != null ? deserialize(dACookies) : null);
|
||||
@@ -183,8 +185,8 @@ public class DeviantartRipper extends AbstractHTMLRipper {
|
||||
// Build Login Data
|
||||
HashMap<String, String> loginData = new HashMap<String, String>();
|
||||
loginData.put("challenge", "");
|
||||
loginData.put("username", this.username);
|
||||
loginData.put("password", this.password);
|
||||
loginData.put("username", customUsername);
|
||||
loginData.put("password", customPassword);
|
||||
loginData.put("remember_me", "1");
|
||||
loginData.put("validate_token", token);
|
||||
loginData.put("validate_key", key);
|
||||
|
Reference in New Issue
Block a user