REQUEST GET "https://api.alldebrid.com/user/login?agent=JDownloader&username=<USER>&password=<PASS>"
HEADER "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
HEADER "Pragma: no-cache"
HEADER "Accept: application/json, text/plain, */*"
HEADER "Host: api.alldebrid.com"
HEADER "Connection: keep-alive"
HEADER "origin:
https://api.alldebrid.com"
HEADER "pragma: no-cache"
HEADER "referer:
https://api.alldebrid.com/"
HEADER "Accept-Encoding: gzip, deflate"
KEYCHECK BanOn4XX=False BanOnToCheck=False
KEYCHAIN Success OR
KEY "isPremium\":true"
KEYCHAIN Failure OR
KEY "<RESPONSECODE>"Contains "401"
KEYCHAIN Ban OR
KEY "Why do I have to complete a CAPTCHA?"
KEY "Too many login attempts"
KEYCHAIN Custom "FREE" OR
KEY "<SOURCE>" Contains "isPremium\":false"
PARSE "<SOURCE>" JSON "premiumUntil" Recursive=TRUE -> CAP "PREMIUM DAYS LEFT"