--- http_interactions: - request: method: post uri: https://oauth.secure.pixiv.net/auth/token body: encoding: US-ASCII string: username=SENSITIVE&password=SENSITIVE&grant_type=password&client_id=bYGKuGVw91e0NMfPGp44euvGt59s&client_secret=HP3RmkgAmEGro0gn1x9ioawQE8WMfvLXDz3ZqxpK headers: Referer: - http://www.pixiv.net Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx Date: - Wed, 28 Sep 2016 16:57:41 GMT Content-Type: - application/json Content-Length: - '351' Connection: - keep-alive Set-Cookie: - PHPSESSID=14613426_88e81f2e71e95328d0736dde0a21cd40; expires=Wed, 28-Sep-2016 17:57:41 GMT; Max-Age=3600; path=/; domain=.pixiv.net; secure Expires: - Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: - no-cache X-Content-Type-Options: - nosniff Vary: - Accept-Encoding body: encoding: UTF-8 string: '{"response":{"access_token":"Ww-4IB4wFqv4KT_hAOBvRCJas8NbZTipWiXeqyuVjbw","expires_in":3600,"token_type":"bearer","scope":"unlimited","refresh_token":"CDWGbJt33er_EMloUmESOBZCMv3xVn91qwRB_hJe_7s","user":{"profile_image_urls":{"px_16x16":"http:\/\/source.pixiv.net\/common\/images\/no_profile_ss.png","px_50x50":"http:\/\/source.pixiv.net\/common\/images\/no_profile_s.png","px_170x170":"http:\/\/source.pixiv.net\/common\/images\/no_profile.png"},"id":"14613426","name":"SENSITIVE","account":"SENSITIVE","is_premium":false,"x_restrict":2,"is_mail_authorized":true}}}' http_version: recorded_at: Wed, 28 Sep 2016 16:57:41 GMT - request: method: get uri: https://public-api.secure.pixiv.net/v1/works/0.json?image_sizes=large&include_stats=true body: encoding: US-ASCII string: '' headers: Referer: - http://www.pixiv.net User-Agent: - dior/2.105.0 Content-Type: - application/x-www-form-urlencoded Authorization: - Bearer Ww-4IB4wFqv4KT_hAOBvRCJas8NbZTipWiXeqyuVjbw Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 400 message: Bad Request headers: Server: - nginx Date: - Wed, 28 Sep 2016 16:57:41 GMT Content-Type: - application/json Content-Length: - '167' Connection: - keep-alive X-Content-Type-Options: - nosniff Vary: - Accept-Encoding body: encoding: ASCII-8BIT string: !binary |- eyJzdGF0dXMiOiJmYWlsdXJlIiwiaGFzX2Vycm9yIjp0cnVlLCJlcnJvcnMi Onsic3lzdGVtIjp7Im1lc3NhZ2UiOiLlr77osaHjga7jgqTjg6njgrnjg4jj ga/opovjgaTjgYvjgorjgb7jgZvjgpPjgafjgZfjgZ/jgIIoaWxsdXN0X2lk OjApIiwiY29kZSI6MjA2fX19 http_version: recorded_at: Wed, 28 Sep 2016 16:57:41 GMT - request: method: get uri: https://public-api.secure.pixiv.net/v1/works/0.json?image_sizes=large&include_stats=true body: encoding: US-ASCII string: '' headers: Referer: - http://www.pixiv.net User-Agent: - dior/2.105.0 Content-Type: - application/x-www-form-urlencoded Authorization: - Bearer Ww-4IB4wFqv4KT_hAOBvRCJas8NbZTipWiXeqyuVjbw Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 400 message: Bad Request headers: Server: - nginx Date: - Wed, 28 Sep 2016 16:57:42 GMT Content-Type: - application/json Content-Length: - '167' Connection: - keep-alive X-Content-Type-Options: - nosniff Vary: - Accept-Encoding body: encoding: ASCII-8BIT string: !binary |- eyJzdGF0dXMiOiJmYWlsdXJlIiwiaGFzX2Vycm9yIjp0cnVlLCJlcnJvcnMi Onsic3lzdGVtIjp7Im1lc3NhZ2UiOiLlr77osaHjga7jgqTjg6njgrnjg4jj ga/opovjgaTjgYvjgorjgb7jgZvjgpPjgafjgZfjgZ/jgIIoaWxsdXN0X2lk OjApIiwiY29kZSI6MjA2fX19 http_version: recorded_at: Wed, 28 Sep 2016 16:57:42 GMT recorded_with: VCR 2.9.3