jtv 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +3 -0
- data/CHANGELOG.md +3 -0
- data/README.md +2 -2
- data/Rakefile +2 -0
- data/lib/jtv/channel.rb +4 -2
- data/lib/jtv/stream.rb +2 -2
- data/lib/jtv/version.rb +1 -1
- data/spec/features/channel_spec.rb +3 -3
- data/spec/features/stream_spec.rb +1 -1
- data/spec/jtv/channel_spec.rb +5 -3
- data/spec/jtv/stream_spec.rb +3 -2
- data/spec/vcr_cassettes/Jtv_Channel/_archives/returns_an_array_of_archives_for_given_channel.yml +32 -35
- data/spec/vcr_cassettes/Jtv_Channel/_channel_show/provides_information_for_a_given_channel.yml +35 -32
- data/spec/vcr_cassettes/Jtv_Channel/_chat_embed/returns_an_iframe_for_chat.yml +11 -28
- data/spec/vcr_cassettes/Jtv_Channel/_embed/returns_a_string_containing_an_embed_object.yml +18 -28
- data/spec/vcr_cassettes/Jtv_Channel/_fans/fetches_fans_for_a_given_channel.yml +346 -174
- data/spec/vcr_cassettes/Jtv_Stream/_list/returns_a_list_of_streams_for_a_category.yml +1656 -555
- data/spec/vcr_cassettes/Jtv_Stream/_search/returns_streams_based_on_search_query.yml +327 -124
- data/spec/vcr_cassettes/Jtv_Stream/_summary/returns_a_summary_of_Jutstin_tv_data.yml +15 -23
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d085a732bc7bbe64b5b2e585c7cbfa014843ad5
|
4
|
+
data.tar.gz: 4be3c9e63ebf8088c69bd66cc37f47e428a49796
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6270b531f17caad9d4d230e12b33e8330eb0ce64bf7772529652a22242107128640da7bb926f7a06a02c09fd4e779077d3d73ec041a0a2a6d1450539eb80a47e
|
7
|
+
data.tar.gz: 3be926bab00fc3d9f4a74aa22435426ce3e511cfcda66d88f82e092131decd5697388de8e687addb167eda7db7d958772cc0d22d2292401ebfcd9055752c1ed3
|
data/.gitignore
CHANGED
data/.travis.yml
ADDED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Jtv
|
1
|
+
# Jtv [![Code Climate](https://codeclimate.com/github/mockra/Jtv.png)](https://codeclimate.com/github/mockra/Jtv) [![Build Status](https://travis-ci.org/mockra/Jtv.png?branch=master)](https://travis-ci.org/mockra/Jtv)
|
2
2
|
|
3
3
|
This library provides a complete wrapper for the Justin.TV and Twitch.TV APIs.
|
4
4
|
|
@@ -19,7 +19,7 @@ Or install it yourself as:
|
|
19
19
|
## Justin.TV API Keys
|
20
20
|
|
21
21
|
If you want access to higher rate limits for your application, then you
|
22
|
-
need to sign up for a [Justin.TV developer account](http://www.
|
22
|
+
need to sign up for a [Justin.TV developer account](http://www.twitch.tv/login?auto=true&redirect_on_login=%2Fdeveloper%2Factivate).
|
23
23
|
|
24
24
|
Once you have your API Keys, you can set them up using the configuration guide
|
25
25
|
below.
|
data/Rakefile
CHANGED
data/lib/jtv/channel.rb
CHANGED
@@ -5,11 +5,13 @@ module Jtv
|
|
5
5
|
end
|
6
6
|
|
7
7
|
def fans params = {}
|
8
|
-
|
8
|
+
id = params[:id] || params[:channel]
|
9
|
+
get "channel/fans/#{id}.json", params
|
9
10
|
end
|
10
11
|
|
11
12
|
def archives params = {}
|
12
|
-
|
13
|
+
id = params[:id] || params[:channel]
|
14
|
+
get "channel/archives/#{id}.json", params
|
13
15
|
end
|
14
16
|
|
15
17
|
def embed id, params = {}
|
data/lib/jtv/stream.rb
CHANGED
@@ -3,11 +3,11 @@ require 'uri'
|
|
3
3
|
module Jtv
|
4
4
|
module Stream
|
5
5
|
def summary params = {}
|
6
|
-
get 'stream/summary', params
|
6
|
+
get 'stream/summary.json', params
|
7
7
|
end
|
8
8
|
|
9
9
|
def list params = {}
|
10
|
-
get 'stream/list', params
|
10
|
+
get 'stream/list.json', params
|
11
11
|
end
|
12
12
|
|
13
13
|
def search query, params = {}
|
data/lib/jtv/version.rb
CHANGED
@@ -12,8 +12,8 @@ describe Jtv::Channel do
|
|
12
12
|
end
|
13
13
|
|
14
14
|
describe '#archives', :vcr do
|
15
|
-
|
16
|
-
archives = Jtv.archives
|
15
|
+
it 'returns an array of archives for given channel' do
|
16
|
+
archives = Jtv.archives channel: 'dotahut', limit: 2
|
17
17
|
expect(archives).to be_an Array
|
18
18
|
expect(archives.count).to eq 2
|
19
19
|
expect(archives.first['video_codec']).to eq 'AVC'
|
@@ -41,7 +41,7 @@ describe Jtv::Channel do
|
|
41
41
|
it 'returns an iframe for chat' do
|
42
42
|
chat = Jtv.chat_embed 'justin', height: 50
|
43
43
|
expect(chat).to be_a String
|
44
|
-
expect(chat).to include '
|
44
|
+
expect(chat).to include '50'
|
45
45
|
expect(chat).to include 'iframe'
|
46
46
|
end
|
47
47
|
end
|
@@ -21,7 +21,7 @@ describe Jtv::Stream do
|
|
21
21
|
it 'returns streams based on search query' do
|
22
22
|
search = Jtv.search 'league of legends', limit: 10
|
23
23
|
expect(search.count).to eq 10
|
24
|
-
expect(search.first['category']).to eq '
|
24
|
+
expect(search.first['category']).to eq 'entertainment'
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
data/spec/jtv/channel_spec.rb
CHANGED
@@ -14,15 +14,17 @@ describe Jtv::Channel do
|
|
14
14
|
|
15
15
|
describe '#fans' do
|
16
16
|
it 'sends fans and params to get' do
|
17
|
-
client.should_receive(:get).with 'channel/fans',
|
17
|
+
client.should_receive(:get).with 'channel/fans/test.json',
|
18
|
+
{ channel: 'test' }
|
18
19
|
client.fans channel: 'test'
|
19
20
|
end
|
20
21
|
end
|
21
22
|
|
22
23
|
describe '#archives' do
|
23
24
|
it 'sends archives and params to get' do
|
24
|
-
client.should_receive(:get).with 'channel/archives',
|
25
|
-
|
25
|
+
client.should_receive(:get).with 'channel/archives/test.json',
|
26
|
+
{ id: 'test' }
|
27
|
+
client.archives id: 'test'
|
26
28
|
end
|
27
29
|
end
|
28
30
|
|
data/spec/jtv/stream_spec.rb
CHANGED
@@ -7,14 +7,15 @@ describe Jtv::Stream do
|
|
7
7
|
|
8
8
|
describe '#summary' do
|
9
9
|
it 'sends summary and params to get' do
|
10
|
-
client.should_receive(:get).with 'stream/summary',
|
10
|
+
client.should_receive(:get).with 'stream/summary.json',
|
11
|
+
{ channel: 'test' }
|
11
12
|
client.summary channel: 'test'
|
12
13
|
end
|
13
14
|
end
|
14
15
|
|
15
16
|
describe '#list' do
|
16
17
|
it 'sends list and params to get' do
|
17
|
-
client.should_receive(:get).with 'stream/list', { channel: 'test' }
|
18
|
+
client.should_receive(:get).with 'stream/list.json', { channel: 'test' }
|
18
19
|
client.list channel: 'test'
|
19
20
|
end
|
20
21
|
end
|
data/spec/vcr_cassettes/Jtv_Channel/_archives/returns_an_array_of_archives_for_given_channel.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://api.justin.tv/channel/archives?
|
5
|
+
uri: http://api.justin.tv/channel/archives/dotahut.json?channel=dotahut&limit=2
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -12,8 +12,8 @@ http_interactions:
|
|
12
12
|
User-Agent:
|
13
13
|
- Jtv Gem
|
14
14
|
Authorization:
|
15
|
-
- OAuth oauth_nonce="
|
16
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
15
|
+
- OAuth oauth_nonce="313bbd99f785484b9cf6e0f0152c1d9b", oauth_signature="OAnY7J6oMHXabdyDIx83PMfMjdw%3D",
|
16
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1368408351", oauth_version="1.0"
|
17
17
|
Accept-Encoding:
|
18
18
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
19
19
|
response:
|
@@ -24,47 +24,44 @@ http_interactions:
|
|
24
24
|
Server:
|
25
25
|
- nginx
|
26
26
|
Date:
|
27
|
-
- Mon,
|
27
|
+
- Mon, 13 May 2013 01:25:50 GMT
|
28
28
|
Content-Type:
|
29
29
|
- application/json
|
30
30
|
Transfer-Encoding:
|
31
31
|
- chunked
|
32
32
|
Connection:
|
33
33
|
- close
|
34
|
-
|
35
|
-
-
|
36
|
-
|
37
|
-
-
|
38
|
-
X-Runtime:
|
39
|
-
- '0.027745'
|
40
|
-
X-Geo:
|
41
|
-
- US
|
42
|
-
X-Request-Id:
|
43
|
-
- 701588087b4b4105c6c82ecef540c699
|
44
|
-
Etag:
|
45
|
-
- '"69d23dbdb82971fa60ad0740024a8500"'
|
46
|
-
X-Ua-Compatible:
|
47
|
-
- IE=Edge,chrome=1
|
48
|
-
Cache-Control:
|
49
|
-
- must-revalidate, private, max-age=0
|
50
|
-
X-Rack-Cache:
|
51
|
-
- miss
|
52
|
-
Set-Cookie:
|
53
|
-
- language=en; domain=.twitch.tv; path=/; expires=Fri, 18-Feb-2033 00:51:29
|
54
|
-
GMT
|
34
|
+
Vary:
|
35
|
+
- Accept-Language, Cookie
|
36
|
+
Content-Language:
|
37
|
+
- en
|
55
38
|
Front-End-Https:
|
56
39
|
- 'off'
|
57
40
|
body:
|
58
41
|
encoding: UTF-8
|
59
|
-
string: '[{"
|
60
|
-
|
61
|
-
(
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
42
|
+
string: '[{"video_file_url": "http://store33.media33.justin.tv/archives/2013-3-3/live_user_dotahut_1362345627.flv",
|
43
|
+
"kind": null, "tag_list": "", "video_rotation": 0, "title": "DotaHut Invitational:
|
44
|
+
Fnatic vs. Mouz (Grand Finals) casted by Maut", "created_on": "2013-03-03
|
45
|
+
21:45:21 UTC", "stream_name": "live_user_dotahut", "filtered": "unchecked",
|
46
|
+
"video_bitrate": null, "updated_on": "2013-05-12 15:53:11 UTC", "save_forever":
|
47
|
+
"true", "id": 373537869, "file_name": "2013-3-3/live_user_dotahut_1362345627.flv",
|
48
|
+
"broadcaster": "delay", "broadcast_id": 5016397072, "user_id": 38409951, "origin_name":
|
49
|
+
"3842704", "file_size": 286290322, "deleted_by_user": "false", "broadcast_part":
|
50
|
+
"4", "keyframes": null, "length": "1470", "image_url_medium": "http://static-cdn.jtvnw.net/jtv.thumbs/archive-373537869-150x113.jpg",
|
51
|
+
"servers": "35", "start_time": "2013-03-03 21:20:27 UTC", "last_part": "",
|
52
|
+
"video_codec": "AVC", "audio_codec": "aac", "parent_archive_id": null, "description":
|
53
|
+
null, "include_on_channel": "none", "status": null}, {"video_file_url": "http://store21.media21.justin.tv/archives/2013-3-3/live_user_dotahut_1362343814.flv",
|
54
|
+
"kind": null, "tag_list": "", "video_rotation": 0, "title": "DotaHut Invitational:
|
55
|
+
Fnatic vs. Mouz (Grand Finals) casted by Maut", "created_on": "2013-03-03
|
56
|
+
21:20:42 UTC", "stream_name": "live_user_dotahut", "filtered": "unchecked",
|
57
|
+
"video_bitrate": null, "updated_on": "2013-03-03 21:20:44 UTC", "save_forever":
|
58
|
+
"true", "id": 373529497, "file_name": "2013-3-3/live_user_dotahut_1362343814.flv",
|
59
|
+
"broadcaster": "delay", "broadcast_id": 5016397072, "user_id": 38409951, "origin_name":
|
60
|
+
"3842704", "file_size": 253298632, "deleted_by_user": "false", "broadcast_part":
|
61
|
+
"3", "keyframes": null, "length": "1812", "image_url_medium": "http://static-cdn.jtvnw.net/jtv.thumbs/archive-373529497-150x113.jpg",
|
62
|
+
"servers": "22", "start_time": "2013-03-03 20:50:14 UTC", "last_part": "",
|
63
|
+
"video_codec": "AVC", "audio_codec": "aac", "parent_archive_id": null, "description":
|
64
|
+
null, "include_on_channel": "none", "status": null}]'
|
68
65
|
http_version:
|
69
|
-
recorded_at: Mon,
|
66
|
+
recorded_at: Mon, 13 May 2013 01:25:51 GMT
|
70
67
|
recorded_with: VCR 2.4.0
|
data/spec/vcr_cassettes/Jtv_Channel/_channel_show/provides_information_for_a_given_channel.yml
CHANGED
@@ -12,8 +12,8 @@ http_interactions:
|
|
12
12
|
User-Agent:
|
13
13
|
- Jtv Gem
|
14
14
|
Authorization:
|
15
|
-
- OAuth oauth_nonce="
|
16
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
15
|
+
- OAuth oauth_nonce="33ee28e1abd9cc56f1845fcc9f7d7d01", oauth_signature="8tYl1bSPE%2FTn5%2FLd95itt7GxuCo%3D",
|
16
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1368408351", oauth_version="1.0"
|
17
17
|
Accept-Encoding:
|
18
18
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
19
19
|
response:
|
@@ -24,46 +24,49 @@ http_interactions:
|
|
24
24
|
Server:
|
25
25
|
- nginx
|
26
26
|
Date:
|
27
|
-
- Mon,
|
27
|
+
- Mon, 13 May 2013 01:25:50 GMT
|
28
28
|
Content-Type:
|
29
29
|
- application/json
|
30
30
|
Transfer-Encoding:
|
31
31
|
- chunked
|
32
32
|
Connection:
|
33
33
|
- close
|
34
|
-
|
35
|
-
-
|
36
|
-
|
37
|
-
-
|
38
|
-
X-Runtime:
|
39
|
-
- '0.013731'
|
40
|
-
X-Geo:
|
41
|
-
- US
|
42
|
-
X-Request-Id:
|
43
|
-
- 914065f70dc7d033f46e7f6f7afbc54e
|
44
|
-
Etag:
|
45
|
-
- '"bfaefa574dd7d39f6d74ff48befc9bc1"'
|
46
|
-
X-Ua-Compatible:
|
47
|
-
- IE=Edge,chrome=1
|
48
|
-
Cache-Control:
|
49
|
-
- must-revalidate, private, max-age=0
|
50
|
-
X-Rack-Cache:
|
51
|
-
- miss
|
52
|
-
Set-Cookie:
|
53
|
-
- language=en; domain=.twitch.tv; path=/; expires=Fri, 18-Feb-2033 00:51:29
|
54
|
-
GMT
|
34
|
+
Vary:
|
35
|
+
- Accept-Language, Cookie
|
36
|
+
Content-Language:
|
37
|
+
- en
|
55
38
|
Front-End-Https:
|
56
39
|
- 'off'
|
57
40
|
body:
|
58
41
|
encoding: UTF-8
|
59
|
-
string: '{"
|
60
|
-
|
61
|
-
|
42
|
+
string: '{"subcategory": "other_animals", "category": "animals", "id": 6285586,
|
43
|
+
"login": "apidemo", "title": "API demo (in HD)", "status": null, "tags": null,
|
44
|
+
"producer": "false", "category_title": "Animals", "subcategory_title": "Other
|
45
|
+
Animals", "language": "en", "timezone": "", "channel_url": "http://www.justin.tv/apidemo",
|
46
|
+
"mature": null, "image_url_huge": "http://www-cdn.jtvnw.net/static/images/404_user_600x600.png",
|
47
|
+
"image_url_large": "http://www-cdn.jtvnw.net/static/images/404_user_300x300.png",
|
48
|
+
"image_url_medium": "http://www-cdn.jtvnw.net/static/images/404_user_150x150.png",
|
49
|
+
"image_url_small": "http://www-cdn.jtvnw.net/static/images/404_user_70x70.png",
|
50
|
+
"image_url_tiny": "http://www-cdn.jtvnw.net/static/images/404_user_50x50.png",
|
51
|
+
"screen_cap_url_huge": "http://static-cdn.jtvnw.net/previews/live_user_apidemo-630x473.jpg",
|
52
|
+
"screen_cap_url_large": "http://static-cdn.jtvnw.net/previews/live_user_apidemo-320x240.jpg",
|
53
|
+
"screen_cap_url_medium": "http://static-cdn.jtvnw.net/previews/live_user_apidemo-150x113.jpg",
|
54
|
+
"screen_cap_url_small": "http://static-cdn.jtvnw.net/previews/live_user_apidemo-70x53.jpg",
|
55
|
+
"embed_enabled": "true", "embed_code": "<object type=\"application/x-shockwave-flash\"
|
62
56
|
data=\"http://www.justin.tv/widgets/live_embed_player.swf?channel=apidemo\"
|
63
|
-
|
64
|
-
name=\"
|
65
|
-
/><param name=\"
|
66
|
-
|
57
|
+
id=\"live_embed_player_flash\" height=\"300\" width=\"400\" bgcolor=\"#000000\"><param
|
58
|
+
name=\"allowFullScreen\" value=\"true\"/><param name=\"allowScriptAccess\"
|
59
|
+
value=\"always\" /><param name=\"allowNetworking\" value=\"all\" /><param
|
60
|
+
name=\"movie\" value=\"http://www.justin.tv/widgets/live_embed_player.swf\"
|
61
|
+
/><param name=\"flashvars\" value=\"hostname=www.justin.tv&channel=apidemo&auto_play=false&start_volume=25\"
|
62
|
+
/></object><a href=\"http://www.justin.tv/apidemo#r=-rid-&s=em\" class=\"trk\"
|
63
|
+
style=\"padding:2px 0px 4px; display:block; width:345px; font-weight:normal;
|
64
|
+
font-size:10px; text-decoration:underline; text-align:center\">Watch live
|
65
|
+
video from apidemo on www.justin.tv</a>", "views_count": "38434", "anonymous_chatters_allowed":
|
66
|
+
"false", "about": null, "description": null, "channel_text_color": "#222222",
|
67
|
+
"channel_link_color": "#0066CC", "channel_column_color": "#FFFFFF", "channel_background_color":
|
68
|
+
"#E1E3E6", "channel_background_image_url": null, "channel_header_image_url":
|
69
|
+
null}'
|
67
70
|
http_version:
|
68
|
-
recorded_at: Mon,
|
71
|
+
recorded_at: Mon, 13 May 2013 01:25:51 GMT
|
69
72
|
recorded_with: VCR 2.4.0
|
@@ -12,8 +12,8 @@ http_interactions:
|
|
12
12
|
User-Agent:
|
13
13
|
- Jtv Gem
|
14
14
|
Authorization:
|
15
|
-
- OAuth oauth_nonce="
|
16
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
15
|
+
- OAuth oauth_nonce="87a9c4baf558db9e5f81df358e97504f", oauth_signature="bPabe7WczeCfUid%2BTv%2FKP23shVA%3D",
|
16
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1368408352", oauth_version="1.0"
|
17
17
|
Accept-Encoding:
|
18
18
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
19
19
|
response:
|
@@ -24,40 +24,23 @@ http_interactions:
|
|
24
24
|
Server:
|
25
25
|
- nginx
|
26
26
|
Date:
|
27
|
-
- Mon,
|
27
|
+
- Mon, 13 May 2013 01:25:50 GMT
|
28
28
|
Content-Type:
|
29
|
-
-
|
29
|
+
- text/html; charset=utf-8
|
30
30
|
Transfer-Encoding:
|
31
31
|
- chunked
|
32
32
|
Connection:
|
33
33
|
- close
|
34
|
-
|
35
|
-
-
|
36
|
-
|
37
|
-
-
|
38
|
-
X-Request-Id:
|
39
|
-
- ceaf57ac7f9577b8aeba91d9e057987d
|
40
|
-
X-Geo:
|
41
|
-
- US
|
42
|
-
Etag:
|
43
|
-
- '"25e067f6064fecc3520ba142a2713231"'
|
44
|
-
X-Ua-Compatible:
|
45
|
-
- IE=Edge,chrome=1
|
46
|
-
Cache-Control:
|
47
|
-
- must-revalidate, private, max-age=0
|
48
|
-
X-Rack-Cache:
|
49
|
-
- miss
|
50
|
-
X-Runtime:
|
51
|
-
- '0.012019'
|
34
|
+
Vary:
|
35
|
+
- Accept-Language, Cookie
|
36
|
+
Content-Language:
|
37
|
+
- en
|
52
38
|
Front-End-Https:
|
53
39
|
- 'off'
|
54
40
|
body:
|
55
41
|
encoding: UTF-8
|
56
|
-
string:
|
57
|
-
|
58
|
-
style="width:450px;height:50px;"
|
59
|
-
src="http://www.justin.tv/chat/embed?channel=justin&hide_chat=&default_chat=jtv&tweet_suffix=&over_18=false">
|
60
|
-
</iframe>
|
42
|
+
string: <iframe frameborder="0" scrolling="no" id="chat_embed" src="http://www.justin.tv/chat/embed?channel=justin&default_chat=jtv&popout_chat=true#r=-rid-&s=em"height="50"
|
43
|
+
width="300"></iframe>
|
61
44
|
http_version:
|
62
|
-
recorded_at: Mon,
|
45
|
+
recorded_at: Mon, 13 May 2013 01:25:52 GMT
|
63
46
|
recorded_with: VCR 2.4.0
|
@@ -12,8 +12,8 @@ http_interactions:
|
|
12
12
|
User-Agent:
|
13
13
|
- Jtv Gem
|
14
14
|
Authorization:
|
15
|
-
- OAuth oauth_nonce="
|
16
|
-
oauth_signature_method="HMAC-SHA1", oauth_timestamp="
|
15
|
+
- OAuth oauth_nonce="73d1559a86217e6fe4844086ca31dea9", oauth_signature="K7fJ01C7hma9uyO9GxFbp0YHwUw%3D",
|
16
|
+
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1368408351", oauth_version="1.0"
|
17
17
|
Accept-Encoding:
|
18
18
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
19
19
|
response:
|
@@ -24,40 +24,30 @@ http_interactions:
|
|
24
24
|
Server:
|
25
25
|
- nginx
|
26
26
|
Date:
|
27
|
-
- Mon,
|
27
|
+
- Mon, 13 May 2013 01:25:50 GMT
|
28
28
|
Content-Type:
|
29
|
-
-
|
29
|
+
- text/html; charset=utf-8
|
30
30
|
Transfer-Encoding:
|
31
31
|
- chunked
|
32
32
|
Connection:
|
33
33
|
- close
|
34
|
-
|
35
|
-
-
|
36
|
-
|
37
|
-
-
|
38
|
-
X-Runtime:
|
39
|
-
- '0.070356'
|
40
|
-
X-Geo:
|
41
|
-
- US
|
42
|
-
X-Request-Id:
|
43
|
-
- c4b42558ecf9c10d529f3e9a7f513ba5
|
44
|
-
Etag:
|
45
|
-
- '"b6fefa3ca3b7c1c159cef2c6007da800"'
|
46
|
-
X-Ua-Compatible:
|
47
|
-
- IE=Edge,chrome=1
|
48
|
-
Cache-Control:
|
49
|
-
- must-revalidate, private, max-age=0
|
50
|
-
X-Rack-Cache:
|
51
|
-
- miss
|
52
|
-
Set-Cookie:
|
53
|
-
- language=en; domain=.twitch.tv; path=/; expires=Fri, 18-Feb-2033 00:51:29
|
54
|
-
GMT
|
34
|
+
Vary:
|
35
|
+
- Accept-Language, Cookie
|
36
|
+
Content-Language:
|
37
|
+
- en
|
55
38
|
Front-End-Https:
|
56
39
|
- 'off'
|
57
40
|
body:
|
58
41
|
encoding: UTF-8
|
59
|
-
string:
|
60
|
-
|
42
|
+
string: <object type="application/x-shockwave-flash" data="http://www.justin.tv/widgets/live_embed_player.swf?channel=justin"
|
43
|
+
id="live_embed_player_flash" height="300" width="400" bgcolor="#000000"><param
|
44
|
+
name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"
|
45
|
+
/><param name="allowNetworking" value="all" /><param name="movie" value="http://www.justin.tv/widgets/live_embed_player.swf"
|
46
|
+
/><param name="flashvars" value="hostname=www.justin.tv&channel=justin&auto_play=false&start_volume=50"
|
47
|
+
/></object><a href="http://www.justin.tv/justin#r=-rid-&s=em" class="trk"
|
48
|
+
style="padding:2px 0px 4px; display:block; width:345px; font-weight:normal;
|
49
|
+
font-size:10px; text-decoration:underline; text-align:center">Watch live video
|
50
|
+
from justin on www.justin.tv</a>
|
61
51
|
http_version:
|
62
|
-
recorded_at: Mon,
|
52
|
+
recorded_at: Mon, 13 May 2013 01:25:52 GMT
|
63
53
|
recorded_with: VCR 2.4.0
|