This repository has been archived by the owner on Aug 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
269182b
commit 5a96f04
Showing
10 changed files
with
599 additions
and
1,197 deletions.
There are no files selected for viewing
196 changes: 196 additions & 0 deletions
196
tests/cassettes/test_session.test_invalid_password.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,196 @@ | ||
{ | ||
"http_interactions": [ | ||
{ | ||
"recorded_at": "2018-05-06T22:36:19", | ||
"request": { | ||
"body": { | ||
"encoding": "utf-8", | ||
"string": "" | ||
}, | ||
"headers": { | ||
"Accept": [ | ||
"*/*" | ||
], | ||
"Accept-Encoding": [ | ||
"gzip, deflate, br" | ||
], | ||
"Accept-Language": [ | ||
"en-US" | ||
], | ||
"Connection": [ | ||
"keep-alive" | ||
] | ||
}, | ||
"method": "GET", | ||
"uri": "https://www.instagram.com/" | ||
}, | ||
"response": { | ||
"body": { | ||
"base64_string": "H4sIAGOD71oC/7Vc7XPbNtL/nr+Cxd2k0oSW+S6SDnOTprlrnmmbTJP0uRufHw4ILCXEFMASoGzX9f/+DAhKJm06Sauk/RBxgV0sdhc/YPHip998//rFu/+8eWmt1aZ69uip/seqMF9lCDiySIWlzBAXRx+kxYU6qsRqBfSIcYtUDLg6aoRQ6Nkjy7Ksp2vA9NnTDShskTVuJKgMtao8ivsKXaWueK1UfQS/tWyboX8fvX9+9EJsaqxYUQGyiOAKuMrQq5cZ0BWgZ49u2RVTFTx79IpLhVcN3jx6etyT9nXutMXxBjLUiEIoORDOBdvgFTBO4dK2uMANWbMt3FPVsG9EwSo4uoDiCNf1EcE1Hut6BfIBVrWGDRwRUYlmUP9vTvffPR5GM7RlcFGLRqFewu33nv2CUbXOKGwZgaPuw7ZaCc2RJLj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atTkyaxu9/9hlXlyDvPly7BWolN/MdVt8IpOCx49hkefQL/X/cft3FK53WduiP2K6SScK98mdWNAZthFGNp7bWDcnRt3Zs3xW6qsZtIz6gb0DnbqIcWao1o240K9ppKjAPPyewdyGm5vZ6dn8S++gfOqPiDz0F0LupHSWSejQ529tfESn7qxSa1NGfulFXrIMcfJF9lM+0uhuUaEXI4J3G0ohDbwICKGEfNQYX7J53e4Qa/7kRpY5Bj/Wh+TP9Lm5/jtJ/w+tek7RN0kAAA==", | ||
"encoding": "ISO-8859-1", | ||
"string": "" | ||
}, | ||
"headers": { | ||
"Cache-Control": [ | ||
"private, no-cache, no-store, must-revalidate" | ||
], | ||
"Connection": [ | ||
"keep-alive" | ||
], | ||
"Content-Encoding": [ | ||
"gzip" | ||
], | ||
"Content-Language": [ | ||
"en" | ||
], | ||
"Content-Length": [ | ||
"5428" | ||
], | ||
"Content-Type": [ | ||
"text/html" | ||
], | ||
"Date": [ | ||
"Sun, 06 May 2018 22:36:19 GMT" | ||
], | ||
"Expires": [ | ||
"Sat, 01 Jan 2000 00:00:00 GMT" | ||
], | ||
"Pragma": [ | ||
"no-cache" | ||
], | ||
"Set-Cookie": [ | ||
"sessionid=; Domain=instagram.com; expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/", | ||
"sessionid=; Domain=.instagram.com; expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/", | ||
"sessionid=; Domain=i.instagram.com; expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/", | ||
"sessionid=; Domain=.i.instagram.com; expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/", | ||
"sessionid=; Domain=www.instagram.com; expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/", | ||
"sessionid=; Domain=.www.instagram.com; expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/", | ||
"rur=FTW; Path=/", | ||
"csrftoken=Pysp8uGHi51Iak3WCmTxpY0px0XCf11o; expires=Sun, 05-May-2019 22:36:19 GMT; Max-Age=31449600; Path=/; Secure", | ||
"mid=Wu-DYwAEAAF8z5OfnMRj12gJvyc6; expires=Sat, 01-May-2038 22:36:19 GMT; Max-Age=630720000; Path=/" | ||
], | ||
"Strict-Transport-Security": [ | ||
"max-age=86400" | ||
], | ||
"Vary": [ | ||
"Cookie, Accept-Language, Accept-Encoding" | ||
], | ||
"X-Frame-Options": [ | ||
"SAMEORIGIN" | ||
] | ||
}, | ||
"status": { | ||
"code": 200, | ||
"message": "OK" | ||
}, | ||
"url": "https://www.instagram.com/" | ||
} | ||
}, | ||
{ | ||
"recorded_at": "2018-05-06T22:36:20", | ||
"request": { | ||
"body": { | ||
"encoding": "utf-8", | ||
"string": "username=INSTA_USERNAME&password=wrongINSTA_PASSWORD&queryParams=%7B%7D" | ||
}, | ||
"headers": { | ||
"Accept": [ | ||
"*/*" | ||
], | ||
"Accept-Encoding": [ | ||
"gzip, deflate, br" | ||
], | ||
"Accept-Language": [ | ||
"en-US" | ||
], | ||
"Connection": [ | ||
"keep-alive" | ||
], | ||
"Content-Length": [ | ||
"68" | ||
], | ||
"Content-Type": [ | ||
"application/x-www-form-urlencoded" | ||
], | ||
"Cookie": [ | ||
"csrftoken=Pysp8uGHi51Iak3WCmTxpY0px0XCf11o; mid=Wu-DYwAEAAF8z5OfnMRj12gJvyc6; rur=FTW" | ||
], | ||
"Host": [ | ||
"www.instagram.com" | ||
], | ||
"Origin": [ | ||
"https://www.instagram.com" | ||
], | ||
"Referer": [ | ||
"https://www.instagram.com/" | ||
], | ||
"X-CSRFToken": [ | ||
"Pysp8uGHi51Iak3WCmTxpY0px0XCf11o" | ||
], | ||
"X-Instagram-AJAX": [ | ||
"1" | ||
], | ||
"X-Requested-With": [ | ||
"XMLHttpRequest" | ||
] | ||
}, | ||
"method": "POST", | ||
"uri": "https://www.instagram.com/accounts/login/ajax/" | ||
}, | ||
"response": { | ||
"body": { | ||
"encoding": null, | ||
"string": "{\"authenticated\": false, \"user\": true, \"status\": \"ok\"}" | ||
}, | ||
"headers": { | ||
"Access-Control-Allow-Credentials": [ | ||
"true" | ||
], | ||
"Access-Control-Allow-Origin": [ | ||
"https://www.instagram.com" | ||
], | ||
"Cache-Control": [ | ||
"private, no-cache, no-store, must-revalidate" | ||
], | ||
"Connection": [ | ||
"keep-alive" | ||
], | ||
"Content-Language": [ | ||
"en" | ||
], | ||
"Content-Length": [ | ||
"54" | ||
], | ||
"Content-Type": [ | ||
"application/json" | ||
], | ||
"Date": [ | ||
"Sun, 06 May 2018 22:36:20 GMT" | ||
], | ||
"Expires": [ | ||
"Sat, 01 Jan 2000 00:00:00 GMT" | ||
], | ||
"Pragma": [ | ||
"no-cache" | ||
], | ||
"Set-Cookie": [ | ||
"csrftoken=Pysp8uGHi51Iak3WCmTxpY0px0XCf11o; expires=Sun, 05-May-2019 22:36:20 GMT; Max-Age=31449600; Path=/; Secure", | ||
"rur=FTW; Path=/" | ||
], | ||
"Strict-Transport-Security": [ | ||
"max-age=86400" | ||
], | ||
"Vary": [ | ||
"Cookie, Accept-Language" | ||
] | ||
}, | ||
"status": { | ||
"code": 200, | ||
"message": "OK" | ||
}, | ||
"url": "https://www.instagram.com/accounts/login/ajax/" | ||
} | ||
} | ||
], | ||
"recorded_with": "betamax/0.8.1" | ||
} |
Oops, something went wrong.