quakelive_api 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
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,331 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.quakelive.com/profile/summary/emqz
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:04 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\">emqz</div>\n <h1
43
+ class=\"profile_title\">\n <img src=\"http://cdn.quakelive.com/web/2014080602/images/flags/pl_v2014080602.0.gif\"
44
+ class=\"playerflag\" title=\"Poland\" />\n <a
45
+ class=\"clan\" href=\"#!clans/summary/229588\">ORG</a>\n emqz\n
46
+ \ </h1>\n\t<div class=\"prf_header\">\n \t\t<div class=\"nav\">\n\t\t\t<a
47
+ href=\"#!profile/summary/emqz\" class=\"selected\">Summary</a>\n\t\t\t<span>|</span>\n\t\t\t<a
48
+ href=\"#!profile/statistics/emqz\" >Statistics</a>\n\t\t\t<span>|</span>\n
49
+ \ <a href=\"#!profile/arenas/emqz\" >Arenas</a>\n <span>|</span>\n
50
+ \ \t\t\t<a href=\"#!profile/awards/emqz\" >Awards</a>\n\t\t\t<span>|</span>\n
51
+ \ \t\t\t<a href=\"#!profile/friends/emqz\" >Friends</a>\n\t\t\t<span>|</span>\n\t\t\t<a
52
+ href=\"#!profile/competitors/emqz\" >Competitors</a>\n \t\t\t<span>|</span>\n\t\t\t<a
53
+ href=\"#!profile/matches/emqz\" >Matches</a>\n \t\t\t<div class=\"cl\"></div>\n\t\t</div>\n
54
+ \ \t\t\n\t\t<form onsubmit=\"quakelive.mod_profile.ProfileJumpClick();
55
+ return false\" style=\"margin: 0; padding: 0\">\n\t\t\t<div id=\"jump_player_msg\"></div>\n\t\t\t<div
56
+ class=\"prf_section_searchbar\">\n\t\t\t\t<input type=\"text\" placeholder=\"Jump
57
+ to profile&hellip;\" class=\"input_default\" id=\"profile_jump_input\" />\n\t\t\t\t<a
58
+ href=\"javascript:;\" onclick=\"quakelive.mod_profile.ProfileJumpClick();
59
+ return false\"><img src=\"http://cdn.quakelive.com/web/2014080602/images/sf/leaderboard/search_v2014080602.0.png\"
60
+ width=\"23\" height=\"23\" /></a>\n\t\t\t</div>\n\t\t</form>\n\t\t\n\t\t<div
61
+ class=\"cl\"></div>\n\t</div>\n \n <div id=\"qlv_profileContainer\">\n
62
+ \ <div id=\"qlv_profileTopLeft\" class=\"summary premium_status_1\">\n
63
+ \ \t\t\t<div class=\"prf_imagery\">\n\t\t\t\t<div style=\"width:
64
+ 145px; height: 275px; margin-top: 5px; margin-left: 13px; background: url(http://cdn.quakelive.com/web/2014080602/images/players/body_md/anarki_default_v2014080602.0.png)
65
+ no-repeat center top\" title=\"Anarki / Default\">\n \n <img
66
+ src=\"http://cdn.quakelive.com/web/2014080602/images/p_badge_v2014080602.0.png\"
67
+ width=\"18\" title=\"Premium Player\"/> </div>\n\t\t\t\t<br
68
+ />\n <!--\n\t\t\t\t<div style=\"margin-left: 15px; width: 140px;
69
+ text-align: center; color: #cc3300; font-size: 17px; font-weight: bold; font-family:
70
+ Arial\">\n\t\t\t\t\tAnarki\n\t\t\t\t</div>\n -->\n\t\t\t</div>\n\n\t\t\t<div
71
+ class=\"prf_vitals\">\n\t\t\t\t<img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_vitalstats_v2014080602.0.png\"
72
+ alt=\"Vital Stats\" width=\"108\" height=\"13\" class=\"prf_title\" />\n\t\t\t\t<br
73
+ />\n\t\t\t\t\n\t\t\t\t<p>\n <b>Member Since:</b> Jun. 23,
74
+ 2013<br />\n <b>Time Played:</b> <span
75
+ class=\"text_tooltip\" title=\"Ranked Time: 1.11:25:38 Unranked Time: 5.01:12:06\">7
76
+ days</span><br />\n \n <b>Last
77
+ Game:</b>\n <span class=\"text_tooltip\"
78
+ title=\"08/13/2014 2:31 PM\">5 days ago</span>\n <br
79
+ />\n <b>Wins:</b> 86<br />\n <b>Losses
80
+ / Quits:</b> 139 / 29<br />\n\t\t <b>Frags / Deaths:</b> 3,026
81
+ / 3,703<br />\n\t\t <b>Hits / Shots:</b> 36,731 / 189,509<br />\n\t\t
82
+ \ <b>Accuracy:</b> 19.38%<br />\n <b>Clan:</b>
83
+ <a href=\"#!clans/summary/229588\">ORG</a><br />\n \n
84
+ \ \t\t\t\t</p>\n \n\t <img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_favorites_v2014080602.0.png\"
85
+ width=\"93\" height=\"13\" alt=\"Favorites\" class=\"prf_title\" />\n\t <br
86
+ />\n\t \n\t <p class=\"prf_faves\">\n <img
87
+ src=\"http://cdn.quakelive.com/web/2014080602/images/profile/none_v2014080602.0.gif\"
88
+ width=\"17\" height=\"17\" alt=\"\" class=\"fl fivepxhr\" />\n <b>Arena:</b>
89
+ Chemical Reaction\n \t\t <div class=\"cl\"></div>\n\t\t
90
+ \ </p>\n\t\t \n\t\t <p class=\"fivepxv prf_faves\">\n
91
+ \ <img src=\"http://cdn.quakelive.com/web/2014080602/images/gametypes/xsm/ctf_v2014080602.0.png\"
92
+ width=\"16\" height=\"16\" alt=\"\" class=\"fl fivepxhr\" />\n <b>Game
93
+ Type:</b> Capture The Flag\n \t \t\n\t\t <div
94
+ class=\"cl\"></div>\n\t\t </p>\n\t\t \n\t\t <p class=\"fivepxv
95
+ prf_faves\">\n \t\t\t <img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/weapons/sm/ROCKET_v2014080602.0.gif\"
96
+ width=\"17\" height=\"17\" alt=\"\" class=\"fl fivepxhr\" />\n <b>Weapon:</b>
97
+ Rocket Launcher\n \t\t <div class=\"cl\"></div>\n\t\t
98
+ \ </p>\n\t\t\t</div>\n\t\t\t\n\t\t\t<div class=\"cl\"></div>\n \n
99
+ \ <div class=\"prf_bio\">\n <span
100
+ class=\"prf_quote_left\">&#147;</span>\n <p>quake.net.pl</p>\n
101
+ \ <span class=\"prf_quote_right\">&#148;</span>\n </div>\n
102
+ \ <div id=\"prf_friend_like\">\n <a
103
+ href=\"http://twitter.com/share\" class=\"twitter-share-button\" data-url=\"http://www.quakelive.com/r/profile/summary/emqz\"
104
+ data-text=\"Check out emqz's QUAKE LIVE Profile!\" data-count=\"none\" data-via=\"quakelive\">Tweet</a><script
105
+ type=\"text/javascript\" src=\"http://platform.twitter.com/widgets.js\"></script>\n
106
+ \ </div>\n\t <div id=\"prf_friend_controls\">\n\t\t </div>\n
107
+ \ </div>\n\n <div id=\"qlv_profileTopRight\" class=\"summary\">\n
108
+ \ <div id=\"qlv_summaryAwardBkd\">\n\t\t\t<img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_recentawards_v2014080602.0.png\"
109
+ alt=\"Recent Medals\" width=\"147\" height=\"13\" class=\"prf_title\" />\n\t\t\t<br
110
+ />\n\n\t\t\t<!--<img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_viewmore_v2014080602.0.png\"
111
+ width=\"80\" height=\"8\" class=\"prf_viewmore\" />-->\n\n\t\t\t<div class=\"prf_awards\">\n\t\t\t\t
112
+ \ <div title=\"LOL! Pwn3d!\" class=\"awd_details
113
+ prf_row_height interactive prf_row1\" onclick=\"quakelive.Goto('profile/awards/emqz;type=2;award=49');
114
+ return false\">\n <img
115
+ src=\"http://cdn.quakelive.com/web/2014080602/images/awards/md/sucker_punch_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\">Sucker Punch</b><br
120
+ />\n Awarded 9 days ago<br />\n Use
121
+ the Gauntlet to frag an opponent who has Quad Damage.\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=\"Your team thanks you.\" class=\"awd_details prf_row_height interactive
125
+ prf_row2\" onclick=\"quakelive.Goto('profile/awards/emqz;type=2;award=36');
126
+ return false\">\n <img
127
+ src=\"http://cdn.quakelive.com/web/2014080602/images/awards/md/miracle_maker_v2014080602.0.png\"
128
+ width=\"61\" height=\"61\" class=\"prf_award\" />\n <div
129
+ class=\"vcenter_outer prf_row_height\">\n <div
130
+ class=\"vcenter_inner\">\n <div class=\"vcenter_data\">\n
131
+ \ <b class=\"awd_title\">Miracle Maker</b><br
132
+ />\n Awarded 8 months ago<br />\n Kill
133
+ two enemy flag carriers moments before their cap in 1 game.\n <div
134
+ class=\"cl\"></div>\n </div>\n </div>\n
135
+ \ </div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t <div
136
+ title=\"Bet you didn&#039;t make any friends in this match.\" class=\"awd_details
137
+ prf_row_height interactive prf_row1\" onclick=\"quakelive.Goto('profile/awards/emqz;type=2;award=35');
138
+ return false\">\n <img
139
+ src=\"http://cdn.quakelive.com/web/2014080602/images/awards/md/quad_god_v2014080602.0.png\"
140
+ width=\"61\" height=\"61\" class=\"prf_award\" />\n <div
141
+ class=\"vcenter_outer prf_row_height\">\n <div
142
+ class=\"vcenter_inner\">\n <div class=\"vcenter_data\">\n
143
+ \ <b class=\"awd_title\">Quad God</b><br
144
+ />\n Awarded 10 months ago<br />\n Record
145
+ 20 Quad Damage kills in 1 game.\n <div
146
+ class=\"cl\"></div>\n </div>\n </div>\n
147
+ \ </div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t <div
148
+ title=\"They couldn&#039;t have won without you.\" class=\"awd_details prf_row_height
149
+ interactive prf_row2\" onclick=\"quakelive.Goto('profile/awards/emqz;type=4;award=105');
150
+ return false\">\n <img
151
+ src=\"http://cdn.quakelive.com/web/2014080602/images/awards/md/trifecta_v2014080602.0.png\"
152
+ width=\"61\" height=\"61\" class=\"prf_award\" />\n <div
153
+ class=\"vcenter_outer prf_row_height\">\n <div
154
+ class=\"vcenter_inner\">\n <div class=\"vcenter_data\">\n
155
+ \ <b class=\"awd_title\">Trifecta</b><br
156
+ />\n Awarded 10 months ago<br />\n Win
157
+ a CTF match while personally scoring 3 or more Capture, Defend, and Assist
158
+ medals.\n <div class=\"cl\"></div>\n </div>\n
159
+ \ </div>\n </div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t
160
+ \ <div title=\"If you didn&#039;t also
161
+ win this game, seek help.\" class=\"awd_details prf_row_height interactive
162
+ prf_row1\" onclick=\"quakelive.Goto('profile/awards/emqz;type=2;award=29');
163
+ return false\">\n <img
164
+ src=\"http://cdn.quakelive.com/web/2014080602/images/awards/md/smack_down_v2014080602.0.png\"
165
+ width=\"61\" height=\"61\" class=\"prf_award\" />\n <div
166
+ class=\"vcenter_outer prf_row_height\">\n <div
167
+ class=\"vcenter_inner\">\n <div class=\"vcenter_data\">\n
168
+ \ <b class=\"awd_title\">Smack Down</b><br
169
+ />\n Awarded 10 months ago<br />\n Accumulate
170
+ 10 or more Quad Damage frags in 1 game.\n <div
171
+ class=\"cl\"></div>\n </div>\n </div>\n
172
+ \ </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
173
+ \ </div>\n\n <div class=\"cl\"></div>\n\n <div id=\"qlv_profileMiddle\"
174
+ class=\"summary\">\n <div id=\"qlv_profileMiddleContent\">\n <img
175
+ src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_recentmatches_v2014080602.0.png\"
176
+ class=\"prf_title\" style=\"float: left\" />\r\n<!--<img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_viewmore_v2014080602.0.png\"
177
+ alt=\"Recent Matches\" width=\"80\" height=\"8\" style=\"float: right; margin-top:
178
+ 4px\" />-->\r\n<br />\r\n<hr class=\"cl\" style=\"height: 1px\" />\r\n\r\n<div
179
+ style=\"text-align: center; width: 637px\">\r\n <div style=\"width:
180
+ 33%; text-align: center; float: left\" class=\"prf_map recent_match interactive\"
181
+ id=\"ctf_735a8790-2320-11e4-b78c-00259031fd90_1\">\r\n <img src=\"http://cdn.quakelive.com/web/2014080602/images/levelshots/lg/japanesecastles_v2014080602.0.jpg\"
182
+ width=\"171\" height=\"124\" class=\"levelshot\" />\r\n <div class=\"gameframe\">\r\n
183
+ \ <div class=\"profile_won_icon\"></div>\r\n
184
+ \ \r\n
185
+ \ <img class=\"gametype\" src=\"http://cdn.quakelive.com/web/2014080602/images/gametypes/sm/ctf_v2014080602.0.png\"
186
+ width=\"28\" height=\"28\" title=\"Game Type\" />\r\n <span
187
+ class=\"finish\">\r\n Finish: \r\n Win\r\n
188
+ \ </span>\r\n
189
+ \ <span class=\"played\">Played: 5 days ago</span>\r\n </div>\r\n
190
+ \ </div>\r\n <div style=\"width: 33%; text-align:
191
+ center; float: left\" class=\"prf_map recent_match interactive\" id=\"ctf_fde6b3f0-231d-11e4-b78c-00259031fd90_1\">\r\n
192
+ \ <img src=\"http://cdn.quakelive.com/web/2014080602/images/levelshots/lg/rebound_v2014080602.0.jpg\"
193
+ width=\"171\" height=\"124\" class=\"levelshot\" />\r\n <div class=\"gameframe\">\r\n
194
+ \ \r\n
195
+ \ <img class=\"gametype\" src=\"http://cdn.quakelive.com/web/2014080602/images/gametypes/sm/ctf_v2014080602.0.png\"
196
+ width=\"28\" height=\"28\" title=\"Game Type\" />\r\n <span
197
+ class=\"finish\">\r\n Finish: \r\n Loss\r\n
198
+ \ </span>\r\n
199
+ \ <span class=\"played\">Played: 5 days ago</span>\r\n </div>\r\n
200
+ \ </div>\r\n <div style=\"width: 33%; text-align:
201
+ center; float: left\" class=\"prf_map recent_match interactive\" id=\"ctf_3e89a9ba-231b-11e4-b78c-00259031fd90_1\">\r\n
202
+ \ <img src=\"http://cdn.quakelive.com/web/2014080602/images/levelshots/lg/skyward_v2014080602.0.jpg\"
203
+ width=\"171\" height=\"124\" class=\"levelshot\" />\r\n <div class=\"gameframe\">\r\n
204
+ \ \r\n
205
+ \ <img class=\"gametype\" src=\"http://cdn.quakelive.com/web/2014080602/images/gametypes/sm/ctf_v2014080602.0.png\"
206
+ width=\"28\" height=\"28\" title=\"Game Type\" />\r\n <span
207
+ class=\"finish\">\r\n Finish: \r\n Quit\r\n
208
+ \ </span>\r\n <span class=\"played\">Played:
209
+ 5 days ago</span>\r\n </div>\r\n </div>\r\n <div
210
+ class=\"cl\"></div>\r\n</div>\n </div>\n </div>\n </div>\n\n
211
+ \ <img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/profile_bot_divider_v2014080602.0.gif\"
212
+ width=\"670\" height=\"17\" />\n\n <div id=\"qlv_profileBottom\" class=\"qlv_profile_section_summary\">\n
213
+ \ <div id=\"qlv_profileBottomContent\">\n <img src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_recentcompetitors_v2014080602.0.png\"
214
+ class=\"prf_title fl\" style=\"position: relative; left: 2px\" />\r\n<!--<img
215
+ src=\"http://cdn.quakelive.com/web/2014080602/images/profile/titles/ttl_viewmore_v2014080602.0.png\"
216
+ alt=\"Recent Competitors\" style=\"float: right; margin-top: 4px; margin-right:
217
+ 15px\" />-->\r\n<br />\r\n\r\n<div id=\"qlv_profileBottomInset\" style=\"text-align:
218
+ center\">\r\n <div style=\"margin: 0 auto; width: 640px; padding-top: 10px\">\r\n
219
+ \ <div class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/cyberdemon74');
220
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
221
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
222
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/razor_id_v2014080602.0.png)\"><div
223
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
224
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/cyberdemon74\"
225
+ class=\"player_nick_dark\">cyberdemon74</a>\r\n <br />\r\n <b>Last
226
+ Played:</b> <span class=\"text_tooltip\" title=\"08/13/2014 2:31 PM\">5 days
227
+ ago</span>\r\n </div>\r\n </div>\r\n <div
228
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/Good_trade');
229
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
230
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
231
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/janet_default_v2014080602.0.png)\"><div
232
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
233
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/Good_trade\"
234
+ class=\"player_nick_dark\"><span class=\"clan\">DMK</span>Good_trade</a>\r\n
235
+ \ <br />\r\n <b>Last Played:</b> <span class=\"text_tooltip\"
236
+ title=\"08/13/2014 2:31 PM\">5 days ago</span>\r\n </div>\r\n </div>\r\n
237
+ \ <div class=\"rcmp_block interactive\"
238
+ onclick=\"quakelive.Goto('profile/summary/badlycan666'); return false\">\r\n
239
+ \ <div class=\"fl\" style=\"margin-right: 5px\">\r\n <div
240
+ class=\"usericon_standard_lg \" style=\"background-image: url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/uriel_default_v2014080602.0.png)\"><div
241
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
242
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/badlycan666\"
243
+ class=\"player_nick_dark\">badlycan666</a>\r\n <br />\r\n <b>Last
244
+ Played:</b> <span class=\"text_tooltip\" title=\"08/13/2014 2:31 PM\">5 days
245
+ ago</span>\r\n </div>\r\n </div>\r\n <div
246
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/adnan');
247
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
248
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
249
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/xaero_default_v2014080602.0.png)\"><div
250
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
251
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/adnan\"
252
+ class=\"player_nick_dark\">adnan</a>\r\n <br />\r\n <b>Last
253
+ Played:</b> <span class=\"text_tooltip\" title=\"08/13/2014 2:31 PM\">5 days
254
+ ago</span>\r\n </div>\r\n </div>\r\n <div
255
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/MrJee');
256
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
257
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
258
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/sarge_krusade_v2014080602.0.png)\"><div
259
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
260
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/MrJee\"
261
+ class=\"player_nick_dark\">MrJee</a>\r\n <br />\r\n <b>Last
262
+ Played:</b> <span class=\"text_tooltip\" title=\"08/13/2014 2:31 PM\">5 days
263
+ ago</span>\r\n </div>\r\n </div>\r\n <div
264
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/Vladisus');
265
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
266
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
267
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/slash_sport_blue_v2014080602.0.png)\"><div
268
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
269
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/Vladisus\"
270
+ class=\"player_nick_dark\">Vladisus</a>\r\n <br />\r\n <b>Last
271
+ Played:</b> <span class=\"text_tooltip\" title=\"08/13/2014 2:31 PM\">5 days
272
+ ago</span>\r\n </div>\r\n </div>\r\n <div
273
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/basti_sc');
274
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
275
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
276
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/biker_hossman_v2014080602.0.png)\"><div
277
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
278
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/basti_sc\"
279
+ class=\"player_nick_dark\">basti_sc</a>\r\n <br />\r\n <b>Last
280
+ Played:</b> <span class=\"text_tooltip\" title=\"08/13/2014 2:31 PM\">5 days
281
+ ago</span>\r\n </div>\r\n </div>\r\n <div
282
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/wwwLollo2com');
283
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
284
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
285
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/anarki_default_v2014080602.0.png)\"><div
286
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
287
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/wwwLollo2com\"
288
+ class=\"player_nick_dark\">wwwLollo2com</a>\r\n <br />\r\n <b>Last
289
+ Played:</b> <span class=\"text_tooltip\" title=\"08/13/2014 2:31 PM\">5 days
290
+ ago</span>\r\n </div>\r\n </div>\r\n <div
291
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/Fourcade');
292
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
293
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
294
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/uriel_sport_v2014080602.0.png)\"><div
295
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
296
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/Fourcade\"
297
+ class=\"player_nick_dark\"><span class=\"clan\">PLNs</span>Fourcade</a>\r\n
298
+ \ <br />\r\n <b>Last Played:</b> <span class=\"text_tooltip\"
299
+ title=\"08/13/2014 2:31 PM\">5 days ago</span>\r\n </div>\r\n </div>\r\n
300
+ \ <div class=\"rcmp_block interactive\"
301
+ onclick=\"quakelive.Goto('profile/summary/BrickTop85'); return false\">\r\n
302
+ \ <div class=\"fl\" style=\"margin-right: 5px\">\r\n <div
303
+ class=\"usericon_standard_lg \" style=\"background-image: url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/bones_sport_red_v2014080602.0.png)\"><div
304
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
305
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/BrickTop85\"
306
+ class=\"player_nick_dark\">BrickTop85</a>\r\n <br />\r\n <b>Last
307
+ Played:</b> <span class=\"text_tooltip\" title=\"08/13/2014 2:31 PM\">5 days
308
+ ago</span>\r\n </div>\r\n </div>\r\n <div
309
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/mr_tica');
310
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
311
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
312
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/sarge_default_v2014080602.0.png)\"><div
313
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
314
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/mr_tica\"
315
+ class=\"player_nick_dark\">mr_tica</a>\r\n <br />\r\n <b>Last
316
+ Played:</b> <span class=\"text_tooltip\" title=\"08/13/2014 2:31 PM\">5 days
317
+ ago</span>\r\n </div>\r\n </div>\r\n <div
318
+ class=\"rcmp_block interactive\" onclick=\"quakelive.Goto('profile/summary/scoobyman9786');
319
+ return false\">\r\n <div class=\"fl\" style=\"margin-right: 5px\">\r\n
320
+ \ <div class=\"usericon_standard_lg \" style=\"background-image:
321
+ url(http://cdn.quakelive.com/web/2014080602/images/players/icon_lg/bones_sport_blue_v2014080602.0.png)\"><div
322
+ class=\"frame\"></div><label></label></div>\r\n </div>\r\n <div
323
+ style=\"margin-top: 6px\">\r\n <a href=\"#!profile/summary/scoobyman9786\"
324
+ class=\"player_nick_dark\">scoobyman9786</a>\r\n <br />\r\n <b>Last
325
+ Played:</b> <span class=\"text_tooltip\" title=\"08/13/2014 2:31 PM\">5 days
326
+ ago</span>\r\n </div>\r\n </div>\r\n <div
327
+ class=\"cl\"></div>\r\n </div>\r\n</div>\r\n </div>\n </div>\n\n
328
+ \ </div>"
329
+ http_version:
330
+ recorded_at: Mon, 18 Aug 2014 10:06:04 GMT
331
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,53 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.quakelive.com/profile/summary/%C3%B3%C4%85%C5%9B%C3%B0%C5%82
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:08 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=\"sorry_container\">\n <div style='font-size: 30px; font-weight:
42
+ bold; color; #000'>An Error Has Occurred</div>\n\n <div id=\"sorry_content\">\n
43
+ \ <p>An error has occurred while handling your request. Please try again
44
+ in a few moments, or if you continue to have this problem <a href='/forum/'
45
+ target='qlforum'>let us know on the forums</a> or <a href='mailto:support@quakelive.com'>contact
46
+ us</a> over email.</p>\n \n <p style=\"padding: 10px\">\n -
47
+ <a href='#!home'>Return home</a>\n <br />\n - <a href='javascript:;'
48
+ onclick='history.back(); return false'>Go back to the previous page</a>\n
49
+ \ </p>\n \n <center><img src=\"http://cdn.quakelive.com/web/2014080602/images/orbberror_v2014080602.0.jpg\"
50
+ width=\"512\" height=\"457\" /></center>\n </div>\n</div>"
51
+ http_version:
52
+ recorded_at: Mon, 18 Aug 2014 10:27:08 GMT
53
+ recorded_with: VCR 2.8.0