quakelive_api 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/.travis.yml +3 -2
  4. data/CHANGELOG.md +11 -0
  5. data/README.md +6 -2
  6. data/lib/quakelive_api/base.rb +23 -23
  7. data/lib/quakelive_api/game_time.rb +5 -5
  8. data/lib/quakelive_api/parser/awards.rb +21 -21
  9. data/lib/quakelive_api/parser/base.rb +1 -1
  10. data/lib/quakelive_api/parser/statistics.rb +17 -17
  11. data/lib/quakelive_api/parser/summary.rb +25 -24
  12. data/lib/quakelive_api/profile/awards/base.rb +10 -10
  13. data/lib/quakelive_api/profile/awards/career_milestones.rb +1 -1
  14. data/lib/quakelive_api/profile/awards/experience.rb +1 -1
  15. data/lib/quakelive_api/profile/awards/mad_skillz.rb +1 -1
  16. data/lib/quakelive_api/profile/awards/social_life.rb +4 -5
  17. data/lib/quakelive_api/profile/awards/sweet_success.rb +1 -1
  18. data/lib/quakelive_api/profile/statistics.rb +7 -7
  19. data/lib/quakelive_api/profile/summary.rb +21 -21
  20. data/lib/quakelive_api/version.rb +1 -1
  21. data/quakelive_api.gemspec +7 -6
  22. data/test/fixtures/awards/career_milestones.yml +262 -0
  23. data/test/fixtures/awards/experience.yml +1019 -0
  24. data/test/fixtures/profiles/emqz.yml +331 -0
  25. data/test/fixtures/profiles/error.yml +53 -0
  26. data/test/fixtures/profiles/full/awards_experience.yml +1019 -0
  27. data/test/fixtures/profiles/full/awards_milestones.yml +262 -0
  28. data/test/fixtures/profiles/full/awards_skillz.yml +592 -0
  29. data/test/fixtures/profiles/full/awards_social.yml +163 -0
  30. data/test/fixtures/profiles/full/awards_success.yml +449 -0
  31. data/test/fixtures/profiles/full/statistics.yml +438 -0
  32. data/test/fixtures/profiles/full/summary.yml +331 -0
  33. data/test/fixtures/profiles/mariano.yml +329 -0
  34. data/test/fixtures/profiles/not_existing.yml +57 -0
  35. data/test/fixtures/statistics/xsi.yml +438 -0
  36. data/test/quakelive_api/profile/awards/career_milestones_test.rb +8 -9
  37. data/test/quakelive_api/profile/awards/experience_test.rb +6 -7
  38. data/test/quakelive_api/profile/statistics_test.rb +31 -37
  39. data/test/quakelive_api/profile/summary_test.rb +60 -51
  40. data/test/quakelive_api/profile_test.rb +37 -32
  41. data/test/test_helper.rb +10 -30
  42. metadata +71 -72
  43. data/test/fixtures/awards/career.txt +0 -382
  44. data/test/fixtures/awards/experience.txt +0 -769
  45. data/test/fixtures/awards/mad_skillz.txt +0 -915
  46. data/test/fixtures/awards/social_life.txt +0 -155
  47. data/test/fixtures/awards/sweet_success.txt +0 -684
  48. data/test/fixtures/profile/error.txt +0 -24
  49. data/test/fixtures/profile/not_found.txt +0 -36
  50. data/test/fixtures/profile/summary.txt +0 -383
  51. data/test/fixtures/statistics/emqz.txt +0 -431
  52. data/test/fixtures/statistics/xsi.txt +0 -558
  53. data/test/fixtures/summary/emqz.txt +0 -304
  54. data/test/fixtures/summary/mariano.txt +0 -380
  55. data/test/quakelive_api/profile/awards/mad_skillz_test.rb +0 -38
  56. data/test/quakelive_api/profile/awards/social_life_test.rb +0 -38
  57. data/test/quakelive_api/profile/awards/sweet_success_test.rb +0 -38
@@ -0,0 +1,329 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.quakelive.com/profile/summary/mariano
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - www.quakelive.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - nginx/0.7.67
25
+ Date:
26
+ - Mon, 18 Aug 2014 10:06:05 GMT
27
+ Content-Type:
28
+ - text/html
29
+ Transfer-Encoding:
30
+ - chunked
31
+ Connection:
32
+ - close
33
+ X-Powered-By:
34
+ - PHP/5.3.3
35
+ X-Ql-Ident:
36
+ - 0 standard
37
+ Vary:
38
+ - Accept-Encoding
39
+ body:
40
+ encoding: UTF-8
41
+ string: "<div id='qlv_profile_shared_container' style=\"text-align: left\">\n
42
+ \ \t<div style=\"display: none\" id=\"prf_player_name\">Mariano</div>\n
43
+ \ <h1 class=\"profile_title\">\n <img src=\"http://cdn.quakelive.com/web/2014080602/images/flags/pl_v2014080602.0.gif\"
44
+ class=\"playerflag\" title=\"Poland\" />\n Mariano\n
45
+ \ </h1>\n\t<div class=\"prf_header\">\n \t\t<div class=\"nav\">\n\t\t\t<a
46
+ href=\"#!profile/summary/Mariano\" class=\"selected\">Summary</a>\n\t\t\t<span>|</span>\n\t\t\t<a
47
+ href=\"#!profile/statistics/Mariano\" >Statistics</a>\n\t\t\t<span>|</span>\n
48
+ \ <a href=\"#!profile/arenas/Mariano\" >Arenas</a>\n <span>|</span>\n
49
+ \ \t\t\t<a href=\"#!profile/awards/Mariano\" >Awards</a>\n\t\t\t<span>|</span>\n
50
+ \ \t\t\t<a href=\"#!profile/friends/Mariano\" >Friends</a>\n\t\t\t<span>|</span>\n\t\t\t<a
51
+ href=\"#!profile/competitors/Mariano\" >Competitors</a>\n \t\t\t<span>|</span>\n\t\t\t<a
52
+ href=\"#!profile/matches/Mariano\" >Matches</a>\n \t\t\t<div class=\"cl\"></div>\n\t\t</div>\n
53
+ \ \t\t\n\t\t<form onsubmit=\"quakelive.mod_profile.ProfileJumpClick();
54
+ return false\" style=\"margin: 0; padding: 0\">\n\t\t\t<div id=\"jump_player_msg\"></div>\n\t\t\t<div
55
+ class=\"prf_section_searchbar\">\n\t\t\t\t<input type=\"text\" placeholder=\"Jump
56
+ to profile&hellip;\" class=\"input_default\" id=\"profile_jump_input\" />\n\t\t\t\t<a
57
+ href=\"javascript:;\" onclick=\"quakelive.mod_profile.ProfileJumpClick();
58
+ return false\"><img src=\"http://cdn.quakelive.com/web/2014080602/images/sf/leaderboard/search_v2014080602.0.png\"
59
+ width=\"23\" height=\"23\" /></a>\n\t\t\t</div>\n\t\t</form>\n\t\t\n\t\t<div
60
+ class=\"cl\"></div>\n\t</div>\n \n <div id=\"qlv_profileContainer\">\n
61
+ \ <div id=\"qlv_profileTopLeft\" class=\"summary premium_status_2\">\n
62
+ \ \t\t\t<div class=\"prf_imagery\">\n\t\t\t\t<div style=\"width:
63
+ 145px; height: 275px; margin-top: 5px; margin-left: 13px; background: url(http://cdn.quakelive.com/web/2014080602/images/players/body_md/sarge_default_v2014080602.0.png)
64
+ no-repeat center top\" title=\"Sarge / Default\">\n \n <img
65
+ src=\"http://cdn.quakelive.com/web/2014080602/images/p_badge_v2014080602.0.png\"
66
+ width=\"18\" title=\"Pro Player\"/> </div>\n\t\t\t\t<br />\n
67
+ \ <!--\n\t\t\t\t<div style=\"margin-left: 15px; width: 140px;
68
+ text-align: center; color: #cc3300; font-size: 17px; font-weight: bold; font-family:
69
+ Arial\">\n\t\t\t\t\tSarge\n\t\t\t\t</div>\n -->\n\t\t\t</div>\n\n\t\t\t<div
70
+ class=\"prf_vitals\">\n\t\t\t\t<img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_vitalstats_v2014080602.0.png\"
71
+ alt=\"Vital Stats\" width=\"108\" height=\"13\" class=\"prf_title\" />\n\t\t\t\t<br
72
+ />\n\t\t\t\t\n\t\t\t\t<p>\n <b>Member Since:</b> Feb. 07,
73
+ 2009<br />\n <b>Time Played:</b> <span
74
+ class=\"text_tooltip\" title=\"Ranked Time: 78.13:26:07 Unranked Time: 14:45:28\">2.7
75
+ months</span><br />\n \n <b>Last
76
+ Game:</b>\n <span class=\"text_tooltip\"
77
+ title=\"08/15/2014 10:10 AM\">3 days ago</span>\n <br
78
+ />\n <b>Wins:</b> 5,994<br />\n <b>Losses
79
+ / Quits:</b> 4,398 / 730<br />\n\t\t <b>Frags / Deaths:</b> 160,968
80
+ / 145,952<br />\n\t\t <b>Hits / Shots:</b> 3,270,953 / 10,270,772<br
81
+ />\n\t\t <b>Accuracy:</b> 31.85%<br />\n \n
82
+ \ \t\t\t\t</p>\n \n\t <img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_favorites_v2014080602.0.png\"
83
+ width=\"93\" height=\"13\" alt=\"Favorites\" class=\"prf_title\" />\n\t <br
84
+ />\n\t \n\t <p class=\"prf_faves\">\n <img
85
+ src=\"http://cdn.quakelive.com/web/2014080602/images/profile/none_v2014080602.0.gif\"
86
+ width=\"17\" height=\"17\" alt=\"\" class=\"fl fivepxhr\" />\n <b>Arena:</b>
87
+ Toxicity\n \t\t <div class=\"cl\"></div>\n\t\t
88
+ \ </p>\n\t\t \n\t\t <p class=\"fivepxv prf_faves\">\n
89
+ \ <img src=\"http://cdn.quakelive.com/web/2014080602/images/gametypes/xsm/duel_v2014080602.0.png\"
90
+ width=\"16\" height=\"16\" alt=\"\" class=\"fl fivepxhr\" />\n <b>Game
91
+ Type:</b> Duel\n \t \t\n\t\t <div
92
+ class=\"cl\"></div>\n\t\t </p>\n\t\t \n\t\t <p class=\"fivepxv
93
+ prf_faves\">\n \t\t\t <img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/weapons/sm/LIGHTNING_v2014080602.0.gif\"
94
+ width=\"17\" height=\"17\" alt=\"\" class=\"fl fivepxhr\" />\n <b>Weapon:</b>
95
+ Lightning Gun\n \t\t <div class=\"cl\"></div>\n\t\t
96
+ \ </p>\n\t\t\t</div>\n\t\t\t\n\t\t\t<div class=\"cl\"></div>\n \n
97
+ \ <div class=\"prf_bio\">\n <span
98
+ class=\"prf_quote_left\">&#147;</span>\n <p>ORG Polish
99
+ Quake Center Since 1998\nhttp://quake.net.pl</p>\n <span
100
+ class=\"prf_quote_right\">&#148;</span>\n </div>\n <div
101
+ id=\"prf_friend_like\">\n <a href=\"http://twitter.com/share\"
102
+ class=\"twitter-share-button\" data-url=\"http://www.quakelive.com/r/profile/summary/mariano\"
103
+ data-text=\"Check out Mariano's QUAKE LIVE Profile!\" data-count=\"none\"
104
+ data-via=\"quakelive\">Tweet</a><script type=\"text/javascript\" src=\"http://platform.twitter.com/widgets.js\"></script>\n
105
+ \ </div>\n\t <div id=\"prf_friend_controls\">\n\t\t </div>\n
106
+ \ </div>\n\n <div id=\"qlv_profileTopRight\" class=\"summary\">\n
107
+ \ <div id=\"qlv_summaryAwardBkd\">\n\t\t\t<img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_recentawards_v2014080602.0.png\"
108
+ alt=\"Recent Medals\" width=\"147\" height=\"13\" class=\"prf_title\" />\n\t\t\t<br
109
+ />\n\n\t\t\t<!--<img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_viewmore_v2014080602.0.png\"
110
+ width=\"80\" height=\"8\" class=\"prf_viewmore\" />-->\n\n\t\t\t<div class=\"prf_awards\">\n\t\t\t\t
111
+ \ <div title=\"True dedication to the
112
+ game. Go start some matches!\" class=\"awd_details prf_row_height interactive
113
+ prf_row1\" onclick=\"quakelive.Goto('profile/awards/Mariano;type=3;award=168');
114
+ return false\">\n <img
115
+ src=\"http://cdn.quakelive.com/web/2014080602/images/awards/md/pro_subscriber_v2014080602.0.png\"
116
+ width=\"61\" height=\"61\" class=\"prf_award\" />\n <div
117
+ class=\"vcenter_outer prf_row_height\">\n <div
118
+ class=\"vcenter_inner\">\n <div class=\"vcenter_data\">\n
119
+ \ <b class=\"awd_title\">Pro Subscriber</b><br
120
+ />\n Awarded 3 months ago<br />\n Purchase
121
+ a pro subscription to QUAKE LIVE.\n <div
122
+ class=\"cl\"></div>\n </div>\n </div>\n
123
+ \ </div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t <div
124
+ title=\"\" class=\"awd_details prf_row_height interactive prf_row2\" onclick=\"quakelive.Goto('profile/awards/Mariano;type=5;award=361');
125
+ return false\">\n <img
126
+ src=\"http://cdn.quakelive.com/web/2014080602/images/awards/md/winternights2013_v2014080602.0.png\"
127
+ width=\"61\" height=\"61\" class=\"prf_award\" />\n <div
128
+ class=\"vcenter_outer prf_row_height\">\n <div
129
+ class=\"vcenter_inner\">\n <div class=\"vcenter_data\">\n
130
+ \ <b class=\"awd_title\">Winter Nights 2013</b><br
131
+ />\n Awarded 8 months ago<br />\n Complete
132
+ a match on \"Silent Night\" or \"Winter's Edge\" during the 2013 holidays.\n
133
+ \ <div class=\"cl\"></div>\n </div>\n
134
+ \ </div>\n </div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t
135
+ \ <div title=\"We&#039;re not worthy\"
136
+ class=\"awd_details prf_row_height interactive prf_row1\" onclick=\"quakelive.Goto('profile/awards/Mariano;type=3;award=55');
137
+ return false\">\n <img
138
+ src=\"http://cdn.quakelive.com/web/2014080602/images/awards/md/merciless_v2014080602.0.png\"
139
+ width=\"61\" height=\"61\" class=\"prf_award\" />\n <div
140
+ class=\"vcenter_outer prf_row_height\">\n <div
141
+ class=\"vcenter_inner\">\n <div class=\"vcenter_data\">\n
142
+ \ <b class=\"awd_title\">Merciless</b><br
143
+ />\n Awarded 11 months ago<br />\n Accumulate
144
+ 100,000 frags.\n <div class=\"cl\"></div>\n
145
+ \ </div>\n </div>\n
146
+ \ </div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t <div
147
+ title=\"Hope you touched the flag first!\" class=\"awd_details prf_row_height
148
+ interactive prf_row2\" onclick=\"quakelive.Goto('profile/awards/Mariano;type=2;award=281');
149
+ return false\">\n <img
150
+ src=\"http://cdn.quakelive.com/web/2014080602/images/awards/md/team_killer_v2014080602.0.png\"
151
+ width=\"61\" height=\"61\" class=\"prf_award\" />\n <div
152
+ class=\"vcenter_outer prf_row_height\">\n <div
153
+ class=\"vcenter_inner\">\n <div class=\"vcenter_data\">\n
154
+ \ <b class=\"awd_title\">Team Killer</b><br
155
+ />\n Awarded 15 months ago<br />\n Kill
156
+ all players on the opposing team in a single round in Attack & Defend, minimum
157
+ size 3.\n <div class=\"cl\"></div>\n </div>\n
158
+ \ </div>\n </div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t
159
+ \ <div title=\"Bittersweet victory.\"
160
+ class=\"awd_details prf_row_height interactive prf_row1\" onclick=\"quakelive.Goto('profile/awards/Mariano;type=2;award=279');
161
+ return false\">\n <img
162
+ src=\"http://cdn.quakelive.com/web/2014080602/images/awards/md/missed_opportunity_v2014080602.0.png\"
163
+ width=\"61\" height=\"61\" class=\"prf_award\" />\n <div
164
+ class=\"vcenter_outer prf_row_height\">\n <div
165
+ class=\"vcenter_inner\">\n <div class=\"vcenter_data\">\n
166
+ \ <b class=\"awd_title\">Missed Opportunity</b><br
167
+ />\n Awarded 15 months ago<br />\n Kill
168
+ the opposing team in Attack & Defend without touching the flag.\n <div
169
+ class=\"cl\"></div>\n </div>\n </div>\n
170
+ \ </div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n</div>\n
171
+ \ </div>\n\n <div class=\"cl\"></div>\n\n <div id=\"qlv_profileMiddle\"
172
+ class=\"summary\">\n <div id=\"qlv_profileMiddleContent\">\n <img
173
+ src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_recentmatches_v2014080602.0.png\"
174
+ class=\"prf_title\" style=\"float: left\" />\r\n<!--<img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_viewmore_v2014080602.0.png\"
175
+ alt=\"Recent Matches\" width=\"80\" height=\"8\" style=\"float: right; margin-top:
176
+ 4px\" />-->\r\n<br />\r\n<hr class=\"cl\" style=\"height: 1px\" />\r\n\r\n<div
177
+ style=\"text-align: center; width: 637px\">\r\n <div style=\"width:
178
+ 33%; text-align: center; float: left\" class=\"prf_map recent_match interactive\"
179
+ id=\"duel_519f153e-248e-11e4-9100-00259031fd90_1\">\r\n <img src=\"http://cdn.quakelive.com/web/2014080602/images/levelshots/lg/toxicity_v2014080602.0.jpg\"
180
+ width=\"171\" height=\"124\" class=\"levelshot\" />\r\n <div class=\"gameframe\">\r\n
181
+ \ \r\n
182
+ \ <img class=\"gametype\" src=\"http://cdn.quakelive.com/web/2014080602/images/gametypes/sm/duel_v2014080602.0.png\"
183
+ width=\"28\" height=\"28\" title=\"Game Type\" />\r\n <span
184
+ class=\"finish\">\r\n Finish: \r\n Loss\r\n
185
+ \ </span>\r\n
186
+ \ <span class=\"played\">Played: 3 days ago</span>\r\n </div>\r\n
187
+ \ </div>\r\n <div style=\"width: 33%; text-align:
188
+ center; float: left\" class=\"prf_map recent_match interactive\" id=\"duel_cd022c18-248c-11e4-9100-00259031fd90_1\">\r\n
189
+ \ <img src=\"http://cdn.quakelive.com/web/2014080602/images/levelshots/lg/toxicity_v2014080602.0.jpg\"
190
+ width=\"171\" height=\"124\" class=\"levelshot\" />\r\n <div class=\"gameframe\">\r\n
191
+ \ \r\n
192
+ \ <img class=\"gametype\" src=\"http://cdn.quakelive.com/web/2014080602/images/gametypes/sm/duel_v2014080602.0.png\"
193
+ width=\"28\" height=\"28\" title=\"Game Type\" />\r\n <span
194
+ class=\"finish\">\r\n Finish: \r\n Loss\r\n
195
+ \ </span>\r\n
196
+ \ <span class=\"played\">Played: 3 days ago</span>\r\n </div>\r\n
197
+ \ </div>\r\n <div style=\"width: 33%; text-align:
198
+ center; float: left\" class=\"prf_map recent_match interactive\" id=\"duel_52d1dbe2-248b-11e4-9100-00259031fd90_1\">\r\n
199
+ \ <img src=\"http://cdn.quakelive.com/web/2014080602/images/levelshots/lg/toxicity_v2014080602.0.jpg\"
200
+ width=\"171\" height=\"124\" class=\"levelshot\" />\r\n <div class=\"gameframe\">\r\n
201
+ \ \r\n
202
+ \ <img class=\"gametype\" src=\"http://cdn.quakelive.com/web/2014080602/images/gametypes/sm/duel_v2014080602.0.png\"
203
+ width=\"28\" height=\"28\" title=\"Game Type\" />\r\n <span
204
+ class=\"finish\">\r\n Finish: \r\n Loss\r\n
205
+ \ </span>\r\n
206
+ \ <span class=\"played\">Played: 3 days ago</span>\r\n </div>\r\n
207
+ \ </div>\r\n <div class=\"cl\"></div>\r\n</div>\n </div>\n
208
+ \ </div>\n </div>\n\n <img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/profile_bot_divider_v2014080602.0.gif\"
209
+ width=\"670\" height=\"17\" />\n\n <div id=\"qlv_profileBottom\" class=\"qlv_profile_section_summary\">\n
210
+ \ <div id=\"qlv_profileBottomContent\">\n <img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_recentcompetitors_v2014080602.0.png\"
211
+ class=\"prf_title fl\" style=\"position: relative; left: 2px\" />\r\n<!--<img
212
+ src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_viewmore_v2014080602.0.png\"
213
+ alt=\"Recent Competitors\" style=\"float: right; margin-top: 4px; margin-right:
214
+ 15px\" />-->\r\n<br />\r\n\r\n<div id=\"qlv_profileBottomInset\" style=\"text-align:
215
+ center\">\r\n <div style=\"margin: 0 auto; width: 640px; padding-top: 10px\">\r\n
216
+ \ <div class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/penicylina');
217
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
218
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
219
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/xaero_default_v2014080602.0.png)\"><div
220
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
221
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/penicylina\"
222
+ class=\"player_nick_dark\">penicylina</a>\r\n <br />\r\n <b>Last
223
+ Played:</b> <span class=\"text_tooltip\" title=\"08/15/2014 10:10 AM\">3 days
224
+ ago</span>\r\n </div>\r\n </div>\r\n <div
225
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/Detal');
226
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
227
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
228
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/sarge_red_v2014080602.0.png)\"><div
229
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
230
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/Detal\"
231
+ class=\"player_nick_dark\">Detal</a>\r\n <br />\r\n <b>Last
232
+ Played:</b> <span class=\"text_tooltip\" title=\"08/15/2014 8:16 AM\">3 days
233
+ ago</span>\r\n </div>\r\n </div>\r\n <div
234
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/Bartekk');
235
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
236
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
237
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/razor_default_v2014080602.0.png)\"><div
238
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
239
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/Bartekk\"
240
+ class=\"player_nick_dark\">Bartekk</a>\r\n <br />\r\n <b>Last
241
+ Played:</b> <span class=\"text_tooltip\" title=\"08/15/2014 8:16 AM\">3 days
242
+ ago</span>\r\n </div>\r\n </div>\r\n <div
243
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/CameLeon');
244
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
245
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
246
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/ranger_blue_v2014080602.0.png)\"><div
247
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
248
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/CameLeon\"
249
+ class=\"player_nick_dark\"><span class=\"clan\">vd</span>CameLeon</a>\r\n
250
+ \ <br />\r\n <b>Last Played:</b> <span class=\"text_tooltip\"
251
+ title=\"08/15/2014 8:16 AM\">3 days ago</span>\r\n </div>\r\n </div>\r\n
252
+ \ <div class=\"rcmp_block interactive\"
253
+ onclick=\"quakelive.Goto('profile/summary/Zuoo_'); return false\">\r\n <div
254
+ class=\"fl\" style=\"margin-right: 5px\">\r\n <div class=\"usericon_standard_lg
255
+ \ \" style=\"background-image: url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/bitterman_default_v2014080602.0.png)\"><div
256
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
257
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/Zuoo_\"
258
+ class=\"player_nick_dark\"><span class=\"clan\">frogs</span>Zuoo_</a>\r\n
259
+ \ <br />\r\n <b>Last Played:</b> <span class=\"text_tooltip\"
260
+ title=\"08/15/2014 8:16 AM\">3 days ago</span>\r\n </div>\r\n </div>\r\n
261
+ \ <div class=\"rcmp_block interactive\"
262
+ onclick=\"quakelive.Goto('profile/summary/TreLLa'); return false\">\r\n <div
263
+ class=\"fl\" style=\"margin-right: 5px\">\r\n <div class=\"usericon_standard_lg
264
+ \ \" style=\"background-image: url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/sarge_default_v2014080602.0.png)\"><div
265
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
266
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/TreLLa\"
267
+ class=\"player_nick_dark\"><span class=\"clan\">svR</span>TreLLa</a>\r\n <br
268
+ />\r\n <b>Last Played:</b> <span class=\"text_tooltip\" title=\"08/15/2014
269
+ 8:16 AM\">3 days ago</span>\r\n </div>\r\n </div>\r\n <div
270
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/tymek');
271
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
272
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
273
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/lucy_default_v2014080602.0.png)\"><div
274
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
275
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/tymek\"
276
+ class=\"player_nick_dark\">tymek</a>\r\n <br />\r\n <b>Last
277
+ Played:</b> <span class=\"text_tooltip\" title=\"08/15/2014 6:28 AM\">3 days
278
+ ago</span>\r\n </div>\r\n </div>\r\n <div
279
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/KASZTANNN');
280
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
281
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
282
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/crash_sport_v2014080602.0.png)\"><div
283
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
284
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/KASZTANNN\"
285
+ class=\"player_nick_dark\">KASZTANNN</a>\r\n <br />\r\n <b>Last
286
+ Played:</b> <span class=\"text_tooltip\" title=\"08/13/2014 7:26 AM\">5 days
287
+ ago</span>\r\n </div>\r\n </div>\r\n <div
288
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/r0m4n');
289
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
290
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
291
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/ranger_sport_blue_v2014080602.0.png)\"><div
292
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
293
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/r0m4n\"
294
+ class=\"player_nick_dark\">r0m4n</a>\r\n <br />\r\n <b>Last
295
+ Played:</b> <span class=\"text_tooltip\" title=\"08/06/2014 5:53 PM\">12 days
296
+ ago</span>\r\n </div>\r\n </div>\r\n <div
297
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/deith');
298
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
299
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
300
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/crash_blue_v2014080602.0.png)\"><div
301
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
302
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/deith\"
303
+ class=\"player_nick_dark\"><span class=\"clan\">arch</span>deith</a>\r\n <br
304
+ />\r\n <b>Last Played:</b> <span class=\"text_tooltip\" title=\"07/31/2014
305
+ 11:35 AM\">18 days ago</span>\r\n </div>\r\n </div>\r\n
306
+ \ <div class=\"rcmp_block interactive\"
307
+ onclick=\"quakelive.Goto('profile/summary/steve__'); return false\">\r\n <div
308
+ class=\"fl\" style=\"margin-right: 5px\">\r\n <div class=\"usericon_standard_lg
309
+ \ \" style=\"background-image: url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/xaero_red_v2014080602.0.png)\"><div
310
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
311
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/steve__\"
312
+ class=\"player_nick_dark\"><span class=\"clan\">2:46</span>steve__</a>\r\n
313
+ \ <br />\r\n <b>Last Played:</b> <span class=\"text_tooltip\"
314
+ title=\"07/31/2014 9:55 AM\">18 days ago</span>\r\n </div>\r\n
315
+ \ </div>\r\n <div class=\"rcmp_block
316
+ interactive\" onclick=\"quakelive.Goto('profile/summary/wasjaxjv'); return
317
+ false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
318
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
319
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/ranger_blue_v2014080602.0.png)\"><div
320
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
321
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/wasjaxjv\"
322
+ class=\"player_nick_dark\"><span class=\"clan\">VATA</span>wasjaxjv</a>\r\n
323
+ \ <br />\r\n <b>Last Played:</b> <span class=\"text_tooltip\"
324
+ title=\"07/31/2014 9:43 AM\">18 days ago</span>\r\n </div>\r\n
325
+ \ </div>\r\n <div class=\"cl\"></div>\r\n
326
+ \ </div>\r\n</div>\r\n </div>\n </div>\n\n </div>"
327
+ http_version:
328
+ recorded_at: Mon, 18 Aug 2014 10:06:05 GMT
329
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,57 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.quakelive.com/profile/summary/not_existing_profile123
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - www.quakelive.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - nginx/0.7.67
25
+ Date:
26
+ - Mon, 18 Aug 2014 10:27:47 GMT
27
+ Content-Type:
28
+ - text/html
29
+ Transfer-Encoding:
30
+ - chunked
31
+ Connection:
32
+ - close
33
+ X-Powered-By:
34
+ - PHP/5.3.3
35
+ X-Ql-Ident:
36
+ - 0 standard
37
+ Vary:
38
+ - Accept-Encoding
39
+ body:
40
+ encoding: UTF-8
41
+ string: "<div style=\"text-align: left\">\n\t\t<div style=\"display: none\"
42
+ id=\"prf_player_name\">Unknown Player</div>\n <h1 class=\"profile_title\">\n
43
+ \ Unknown Player\n </h1>\n\t<div class=\"prf_header\">\n
44
+ \ \t\t\n\t\t<form onsubmit=\"quakelive.mod_profile.ProfileJumpClick();
45
+ return false\" style=\"margin: 0; padding: 0\">\n\t\t\t<div id=\"jump_player_msg\"></div>\n\t\t\t<div
46
+ class=\"prf_section_searchbar\">\n\t\t\t\t<input type=\"text\" placeholder=\"Jump
47
+ to profile&hellip;\" class=\"input_default\" id=\"profile_jump_input\" />\n\t\t\t\t<a
48
+ href=\"javascript:;\" onclick=\"quakelive.mod_profile.ProfileJumpClick();
49
+ return false\"><img src=\"http://cdn.quakelive.com/web/2014080602/images/sf/leaderboard/search_v2014080602.0.png\"
50
+ width=\"23\" height=\"23\" /></a>\n\t\t\t</div>\n\t\t</form>\n\t\t\n\t\t<div
51
+ class=\"cl\"></div>\n\t</div>\n\t\n\t<div id=\"qlv_profileListContainer\">\n\t\t<p
52
+ class=\"tc TwentyPxTxt sixtypad midGrayTxt\">\n The requested player could
53
+ not be found or is not yet active. Please check your spelling and try again.
54
+ \ \n</p>\n\t</div>\n</div>"
55
+ http_version:
56
+ recorded_at: Mon, 18 Aug 2014 10:27:47 GMT
57
+ recorded_with: VCR 2.8.0