Files
danbooru/test/fixtures/vcr_cassettes/source-twitter-unit-test-2.yml
r888888888 58aa5c6d66 fix tests
2016-05-28 14:08:44 -07:00

296 lines
16 KiB
YAML

---
http_interactions:
- request:
method: post
uri: https://SENSITIVE:SENSITIVE@api.twitter.com/oauth2/token
body:
encoding: UTF-8
string: grant_type=client_credentials
headers:
Accept:
- "*/*"
User-Agent:
- TwitterRubyGem/5.14.0
Content-Type:
- application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Content-Disposition:
- attachment; filename=json.json
Content-Length:
- '151'
Content-Type:
- application/json;charset=utf-8
Date:
- Sat, 28 May 2016 20:04:52 GMT
Expires:
- Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified:
- Sat, 28 May 2016 20:04:52 GMT
Ml:
- S
Pragma:
- no-cache
Server:
- tsa_a
Set-Cookie:
- guest_id=v1%3A146446589199473495; Domain=.twitter.com; Path=/; Expires=Mon,
28-May-2018 20:04:52 UTC
Status:
- 200 OK
Strict-Transport-Security:
- max-age=631138519
X-Connection-Hash:
- 8f398f010ccc1dfae5286fed049819be
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
X-Response-Time:
- '19'
X-Transaction:
- ab7ab2a442e69d81
X-Tsa-Request-Body-Time:
- '0'
X-Twitter-Response-Tags:
- BouncerCompliant
X-Ua-Compatible:
- IE=edge,chrome=1
X-Xss-Protection:
- 1; mode=block
body:
encoding: UTF-8
string: '{"token_type":"bearer","access_token":"AAAAAAAAAAAAAAAAAAAAAPV7eAAAAAAAN7q56yJ8wNHhsagDn06qiJ0Io00%3DfdvXQaVKHFS3q1hd3y8fVQdIbntIHN2iTsBTk0f6jQK7lxcDo5"}'
http_version:
recorded_at: Sat, 28 May 2016 20:04:52 GMT
- request:
method: get
uri: https://api.twitter.com/1.1/statuses/show/556440271961858051.json
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json
User-Agent:
- TwitterRubyGem/5.14.0
Authorization:
- Bearer AAAAAAAAAAAAAAAAAAAAAPV7eAAAAAAAN7q56yJ8wNHhsagDn06qiJ0Io00%3DfdvXQaVKHFS3q1hd3y8fVQdIbntIHN2iTsBTk0f6jQK7lxcDo5
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Content-Disposition:
- attachment; filename=json.json
Content-Length:
- '1515'
Content-Type:
- application/json;charset=utf-8
Date:
- Sat, 28 May 2016 20:04:52 GMT
Expires:
- Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified:
- Sat, 28 May 2016 20:04:52 GMT
Pragma:
- no-cache
Server:
- tsa_a
Set-Cookie:
- guest_id=v1%3A146446589211166465; Domain=.twitter.com; Path=/; Expires=Mon,
28-May-2018 20:04:52 UTC
Status:
- 200 OK
Strict-Transport-Security:
- max-age=631138519
X-Access-Level:
- read
X-Connection-Hash:
- 63baf92de4af7021e37ae62717f7875a
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-Rate-Limit-Limit:
- '180'
X-Rate-Limit-Remaining:
- '177'
X-Rate-Limit-Reset:
- '1464466790'
X-Response-Time:
- '17'
X-Transaction:
- 450c8b7d54e43eef
X-Twitter-Response-Tags:
- BouncerCompliant
X-Xss-Protection:
- 1; mode=block
body:
encoding: UTF-8
string: '{"created_at":"Sat Jan 17 13:17:53 +0000 2015","id":556440271961858051,"id_str":"556440271961858051","text":"\u30d6\u30ec\u30b6\u30fc\u304c\u63cf\u304d\u305f\u304b\u3063\u305f\u306e\u3067JK\u9234\u8c37
http:\/\/t.co\/ychGEqRI8i","truncated":false,"entities":{"hashtags":[],"symbols":[],"user_mentions":[],"urls":[],"media":[{"id":556440240374575105,"id_str":"556440240374575105","indices":[18,40],"media_url":"http:\/\/pbs.twimg.com\/media\/B7jfc1JCcAEyeJh.png","media_url_https":"https:\/\/pbs.twimg.com\/media\/B7jfc1JCcAEyeJh.png","url":"http:\/\/t.co\/ychGEqRI8i","display_url":"pic.twitter.com\/ychGEqRI8i","expanded_url":"http:\/\/twitter.com\/Strangestone\/status\/556440271961858051\/photo\/1","type":"photo","sizes":{"medium":{"w":598,"h":1100,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"large":{"w":598,"h":1100,"resize":"fit"},"small":{"w":340,"h":625,"resize":"fit"}}}]},"extended_entities":{"media":[{"id":556440240374575105,"id_str":"556440240374575105","indices":[18,40],"media_url":"http:\/\/pbs.twimg.com\/media\/B7jfc1JCcAEyeJh.png","media_url_https":"https:\/\/pbs.twimg.com\/media\/B7jfc1JCcAEyeJh.png","url":"http:\/\/t.co\/ychGEqRI8i","display_url":"pic.twitter.com\/ychGEqRI8i","expanded_url":"http:\/\/twitter.com\/Strangestone\/status\/556440271961858051\/photo\/1","type":"photo","sizes":{"medium":{"w":598,"h":1100,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"large":{"w":598,"h":1100,"resize":"fit"},"small":{"w":340,"h":625,"resize":"fit"}}}]},"source":"\u003ca
href=\"https:\/\/about.twitter.com\/products\/tweetdeck\" rel=\"nofollow\"\u003eTweetDeck\u003c\/a\u003e","in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":93332575,"id_str":"93332575","name":"\u6bd4\u6751\u5947\u77f3","screen_name":"Strangestone","location":"\u795e\u5948\u5ddd","description":"\u6f2b\u753b\u5bb6\u3002\u96fb\u6483G''s\u30b3\u30df\u30c3\u30af\u306b\u3066\u300c\u30bd\u30fc\u30c9\u30a2\u30fc\u30c8\u30fb\u30aa\u30f3\u30e9\u30a4\u30f3\u3000\u30d7\u30ed\u30b0\u30ec\u30c3\u30b7\u30d6\u300d\u9023\u8f09\u4e2d\uff08WEB\u7248\u21d2http:\/\/t.co\/6zK6INxjQC\uff09\u3002\u540c\u4eba\u3067\u306f\u300c\u30a2\u30c1\u30e3\u5b50\u300d\u3068\u304b\u300c\u9b54\u6027\u306e\u6f6e\u300d\u3068\u304b\u300c\u6708\u66dc\u65e5\u306e\u305f\u308f\u308f\u300d\u3068\u304b\u3002tumblr
: http:\/\/t.co\/Xlngj27fPh","url":"http:\/\/t.co\/PPNOncQVYh","entities":{"url":{"urls":[{"url":"http:\/\/t.co\/PPNOncQVYh","expanded_url":"http:\/\/www10.plala.or.jp\/strangestone\/","display_url":"www10.plala.or.jp\/strangestone\/","indices":[0,22]}]},"description":{"urls":[{"url":"http:\/\/t.co\/6zK6INxjQC","expanded_url":"http:\/\/comic-walker.com\/contents\/detail\/KDCW_AM08000004010000_68\/","display_url":"comic-walker.com\/contents\/detai\u2026","indices":[46,68]},{"url":"http:\/\/t.co\/Xlngj27fPh","expanded_url":"http:\/\/himura-kiseki.tumblr.com\/","display_url":"himura-kiseki.tumblr.com","indices":[111,133]}]}},"protected":false,"followers_count":205006,"friends_count":3021,"listed_count":4713,"created_at":"Sun
Nov 29 05:21:21 +0000 2009","favourites_count":762,"utc_offset":32400,"time_zone":"Tokyo","geo_enabled":false,"verified":false,"statuses_count":20660,"lang":"ja","contributors_enabled":false,"is_translator":false,"is_translation_enabled":false,"profile_background_color":"000000","profile_background_image_url":"http:\/\/abs.twimg.com\/images\/themes\/theme7\/bg.gif","profile_background_image_url_https":"https:\/\/abs.twimg.com\/images\/themes\/theme7\/bg.gif","profile_background_tile":false,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/557819686662844416\/RMwCGmCU_normal.png","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/557819686662844416\/RMwCGmCU_normal.png","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/93332575\/1406790494","profile_link_color":"4A86FF","profile_sidebar_border_color":"000000","profile_sidebar_fill_color":"000000","profile_text_color":"000000","profile_use_background_image":false,"has_extended_profile":false,"default_profile":false,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"is_quote_status":false,"retweet_count":1440,"favorite_count":3671,"favorited":false,"retweeted":false,"possibly_sensitive":true,"possibly_sensitive_appealable":false,"lang":"ja"}'
http_version:
recorded_at: Sat, 28 May 2016 20:04:52 GMT
- request:
method: post
uri: https://SENSITIVE:SENSITIVE@api.twitter.com/oauth2/token
body:
encoding: UTF-8
string: grant_type=client_credentials
headers:
Accept:
- "*/*"
User-Agent:
- TwitterRubyGem/5.14.0
Content-Type:
- application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Content-Disposition:
- attachment; filename=json.json
Content-Length:
- '151'
Content-Type:
- application/json;charset=utf-8
Date:
- Sat, 28 May 2016 20:04:52 GMT
Expires:
- Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified:
- Sat, 28 May 2016 20:04:52 GMT
Ml:
- S
Pragma:
- no-cache
Server:
- tsa_a
Set-Cookie:
- guest_id=v1%3A146446589223247527; Domain=.twitter.com; Path=/; Expires=Mon,
28-May-2018 20:04:52 UTC
Status:
- 200 OK
Strict-Transport-Security:
- max-age=631138519
X-Connection-Hash:
- fc93978e9455b29b102a4879758d2594
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
X-Response-Time:
- '15'
X-Transaction:
- 31c08dca41124390
X-Tsa-Request-Body-Time:
- '1'
X-Twitter-Response-Tags:
- BouncerCompliant
X-Ua-Compatible:
- IE=edge,chrome=1
X-Xss-Protection:
- 1; mode=block
body:
encoding: UTF-8
string: '{"token_type":"bearer","access_token":"AAAAAAAAAAAAAAAAAAAAAPV7eAAAAAAAN7q56yJ8wNHhsagDn06qiJ0Io00%3DfdvXQaVKHFS3q1hd3y8fVQdIbntIHN2iTsBTk0f6jQK7lxcDo5"}'
http_version:
recorded_at: Sat, 28 May 2016 20:04:52 GMT
- request:
method: get
uri: https://api.twitter.com/1.1/statuses/show/556440271961858051.json
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json
User-Agent:
- TwitterRubyGem/5.14.0
Authorization:
- Bearer AAAAAAAAAAAAAAAAAAAAAPV7eAAAAAAAN7q56yJ8wNHhsagDn06qiJ0Io00%3DfdvXQaVKHFS3q1hd3y8fVQdIbntIHN2iTsBTk0f6jQK7lxcDo5
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Content-Disposition:
- attachment; filename=json.json
Content-Length:
- '1515'
Content-Type:
- application/json;charset=utf-8
Date:
- Sat, 28 May 2016 20:04:52 GMT
Expires:
- Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified:
- Sat, 28 May 2016 20:04:52 GMT
Pragma:
- no-cache
Server:
- tsa_a
Set-Cookie:
- guest_id=v1%3A146446589235452225; Domain=.twitter.com; Path=/; Expires=Mon,
28-May-2018 20:04:52 UTC
Status:
- 200 OK
Strict-Transport-Security:
- max-age=631138519
X-Access-Level:
- read
X-Connection-Hash:
- 84bef7f1ed06d8518afc33db58f52747
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-Rate-Limit-Limit:
- '180'
X-Rate-Limit-Remaining:
- '176'
X-Rate-Limit-Reset:
- '1464466790'
X-Response-Time:
- '20'
X-Transaction:
- 5e900a94b172febc
X-Twitter-Response-Tags:
- BouncerCompliant
X-Xss-Protection:
- 1; mode=block
body:
encoding: UTF-8
string: '{"created_at":"Sat Jan 17 13:17:53 +0000 2015","id":556440271961858051,"id_str":"556440271961858051","text":"\u30d6\u30ec\u30b6\u30fc\u304c\u63cf\u304d\u305f\u304b\u3063\u305f\u306e\u3067JK\u9234\u8c37
http:\/\/t.co\/ychGEqRI8i","truncated":false,"entities":{"hashtags":[],"symbols":[],"user_mentions":[],"urls":[],"media":[{"id":556440240374575105,"id_str":"556440240374575105","indices":[18,40],"media_url":"http:\/\/pbs.twimg.com\/media\/B7jfc1JCcAEyeJh.png","media_url_https":"https:\/\/pbs.twimg.com\/media\/B7jfc1JCcAEyeJh.png","url":"http:\/\/t.co\/ychGEqRI8i","display_url":"pic.twitter.com\/ychGEqRI8i","expanded_url":"http:\/\/twitter.com\/Strangestone\/status\/556440271961858051\/photo\/1","type":"photo","sizes":{"medium":{"w":598,"h":1100,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"large":{"w":598,"h":1100,"resize":"fit"},"small":{"w":340,"h":625,"resize":"fit"}}}]},"extended_entities":{"media":[{"id":556440240374575105,"id_str":"556440240374575105","indices":[18,40],"media_url":"http:\/\/pbs.twimg.com\/media\/B7jfc1JCcAEyeJh.png","media_url_https":"https:\/\/pbs.twimg.com\/media\/B7jfc1JCcAEyeJh.png","url":"http:\/\/t.co\/ychGEqRI8i","display_url":"pic.twitter.com\/ychGEqRI8i","expanded_url":"http:\/\/twitter.com\/Strangestone\/status\/556440271961858051\/photo\/1","type":"photo","sizes":{"medium":{"w":598,"h":1100,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"large":{"w":598,"h":1100,"resize":"fit"},"small":{"w":340,"h":625,"resize":"fit"}}}]},"source":"\u003ca
href=\"https:\/\/about.twitter.com\/products\/tweetdeck\" rel=\"nofollow\"\u003eTweetDeck\u003c\/a\u003e","in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":93332575,"id_str":"93332575","name":"\u6bd4\u6751\u5947\u77f3","screen_name":"Strangestone","location":"\u795e\u5948\u5ddd","description":"\u6f2b\u753b\u5bb6\u3002\u96fb\u6483G''s\u30b3\u30df\u30c3\u30af\u306b\u3066\u300c\u30bd\u30fc\u30c9\u30a2\u30fc\u30c8\u30fb\u30aa\u30f3\u30e9\u30a4\u30f3\u3000\u30d7\u30ed\u30b0\u30ec\u30c3\u30b7\u30d6\u300d\u9023\u8f09\u4e2d\uff08WEB\u7248\u21d2http:\/\/t.co\/6zK6INxjQC\uff09\u3002\u540c\u4eba\u3067\u306f\u300c\u30a2\u30c1\u30e3\u5b50\u300d\u3068\u304b\u300c\u9b54\u6027\u306e\u6f6e\u300d\u3068\u304b\u300c\u6708\u66dc\u65e5\u306e\u305f\u308f\u308f\u300d\u3068\u304b\u3002tumblr
: http:\/\/t.co\/Xlngj27fPh","url":"http:\/\/t.co\/PPNOncQVYh","entities":{"url":{"urls":[{"url":"http:\/\/t.co\/PPNOncQVYh","expanded_url":"http:\/\/www10.plala.or.jp\/strangestone\/","display_url":"www10.plala.or.jp\/strangestone\/","indices":[0,22]}]},"description":{"urls":[{"url":"http:\/\/t.co\/6zK6INxjQC","expanded_url":"http:\/\/comic-walker.com\/contents\/detail\/KDCW_AM08000004010000_68\/","display_url":"comic-walker.com\/contents\/detai\u2026","indices":[46,68]},{"url":"http:\/\/t.co\/Xlngj27fPh","expanded_url":"http:\/\/himura-kiseki.tumblr.com\/","display_url":"himura-kiseki.tumblr.com","indices":[111,133]}]}},"protected":false,"followers_count":205006,"friends_count":3021,"listed_count":4713,"created_at":"Sun
Nov 29 05:21:21 +0000 2009","favourites_count":762,"utc_offset":32400,"time_zone":"Tokyo","geo_enabled":false,"verified":false,"statuses_count":20660,"lang":"ja","contributors_enabled":false,"is_translator":false,"is_translation_enabled":false,"profile_background_color":"000000","profile_background_image_url":"http:\/\/abs.twimg.com\/images\/themes\/theme7\/bg.gif","profile_background_image_url_https":"https:\/\/abs.twimg.com\/images\/themes\/theme7\/bg.gif","profile_background_tile":false,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/557819686662844416\/RMwCGmCU_normal.png","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/557819686662844416\/RMwCGmCU_normal.png","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/93332575\/1406790494","profile_link_color":"4A86FF","profile_sidebar_border_color":"000000","profile_sidebar_fill_color":"000000","profile_text_color":"000000","profile_use_background_image":false,"has_extended_profile":false,"default_profile":false,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"is_quote_status":false,"retweet_count":1440,"favorite_count":3671,"favorited":false,"retweeted":false,"possibly_sensitive":true,"possibly_sensitive_appealable":false,"lang":"ja"}'
http_version:
recorded_at: Sat, 28 May 2016 20:04:52 GMT
recorded_with: VCR 2.9.3