mirror of
https://github.com/mirror/jdownloader.git
synced 2025-03-04 18:38:24 +00:00
Rs: account disable bug and special chars fixed
git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@5935 ebf7c1c2-ba36-0410-9fe8-c592906822b4
This commit is contained in:
parent
d088f68fb8
commit
8c3b8da29e
@ -1039,10 +1039,9 @@ public class Rapidshare extends PluginForHost {
|
||||
}
|
||||
|
||||
// @Override
|
||||
public AccountInfo fetchAccountInfo(Account account) throws Exception {
|
||||
|
||||
public AccountInfo fetchAccountInfo(Account account) throws Exception {
|
||||
AccountInfo ai = new AccountInfo(this, account);
|
||||
String api = "http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=getaccountdetails_v1&login=" + account.getUser() + "&password=" + account.getPass() + "&type=prem";
|
||||
String api = "http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=getaccountdetails_v1&login=" + Encoding.urlEncode(account.getUser()) + "&password=" + Encoding.urlEncode(account.getPass()) + "&type=prem";
|
||||
br.getPage(api);
|
||||
String error = br.getRegex("ERROR:(.*)").getMatch(0);
|
||||
if (error != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user