bnet_scraper 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/CHANGELOG.md +9 -0
  2. data/Gemfile +1 -1
  3. data/LICENSE +1 -1
  4. data/README.md +51 -31
  5. data/bnet_scraper.gemspec +3 -1
  6. data/fixtures/vcr_cassettes/demon_achievements.yml +246 -0
  7. data/fixtures/vcr_cassettes/demon_leagues.yml +359 -0
  8. data/fixtures/vcr_cassettes/demon_match_history.yml +241 -0
  9. data/fixtures/vcr_cassettes/demon_matches.yml +240 -0
  10. data/fixtures/vcr_cassettes/demon_profile.yml +1428 -0
  11. data/fixtures/vcr_cassettes/demon_profile_leagues.yml +1291 -0
  12. data/fixtures/vcr_cassettes/full_demon_scrape.yml +5449 -0
  13. data/fixtures/vcr_cassettes/invalid_achievement.yml +199 -0
  14. data/fixtures/vcr_cassettes/invalid_leagues.yml +199 -0
  15. data/fixtures/vcr_cassettes/invalid_matches.yml +199 -0
  16. data/fixtures/vcr_cassettes/invalid_profile.yml +199 -0
  17. data/fixtures/vcr_cassettes/new_league.yml +595 -0
  18. data/fixtures/vcr_cassettes/profile_invalid.yml +199 -0
  19. data/fixtures/vcr_cassettes/profile_not_laddered.yml +443 -0
  20. data/fixtures/vcr_cassettes/realm_status.yml +578 -0
  21. data/lib/bnet_scraper/starcraft2.rb +7 -8
  22. data/lib/bnet_scraper/starcraft2/achievement_scraper.rb +5 -5
  23. data/lib/bnet_scraper/starcraft2/league.rb +54 -0
  24. data/lib/bnet_scraper/starcraft2/league_scraper.rb +3 -1
  25. data/lib/bnet_scraper/starcraft2/match.rb +15 -0
  26. data/lib/bnet_scraper/starcraft2/match_history_scraper.rb +9 -18
  27. data/lib/bnet_scraper/starcraft2/profile.rb +45 -0
  28. data/lib/bnet_scraper/starcraft2/profile_scraper.rb +68 -44
  29. data/spec/spec_helper.rb +14 -0
  30. data/spec/starcraft2/achievement_scraper_spec.rb +67 -83
  31. data/spec/starcraft2/league_scraper_spec.rb +25 -59
  32. data/spec/starcraft2/league_spec.rb +43 -0
  33. data/spec/starcraft2/match_history_scraper_spec.rb +19 -39
  34. data/spec/starcraft2/profile_scraper_spec.rb +36 -141
  35. data/spec/starcraft2/profile_spec.rb +46 -0
  36. data/spec/starcraft2/status_scraper_spec.rb +12 -5
  37. data/spec/starcraft2_spec.rb +19 -36
  38. data/spec/support/shared/sc2_scraper.rb +28 -13
  39. metadata +57 -42
  40. data/spec/support/achievements.html +0 -1156
  41. data/spec/support/failure.html +0 -565
  42. data/spec/support/initial_league.html +0 -1082
  43. data/spec/support/initial_leagues.html +0 -3598
  44. data/spec/support/league.html +0 -8310
  45. data/spec/support/leagues.html +0 -3810
  46. data/spec/support/load_fakeweb.rb +0 -42
  47. data/spec/support/matches.html +0 -1228
  48. data/spec/support/no_ladder.html +0 -967
  49. data/spec/support/no_ladder_leagues.html +0 -664
  50. data/spec/support/profile.html +0 -1074
  51. data/spec/support/status.html +0 -1
@@ -1,1074 +0,0 @@
1
-
2
-
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" class="en-us">
4
- <head xmlns:og="http://ogp.me/ns#" xmlns:fb="http://ogp.me/ns/fb#">
5
- <title>Demon - StarCraft II</title>
6
- <meta content="false" http-equiv="imagetoolbar" />
7
- <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
8
- <link rel="shortcut icon" href="/sc2/static/local-common/images/favicons/sc2.ico" type="image/x-icon"/>
9
- <link rel="search" type="application/opensearchdescription+xml" href="http://us.battle.net/en-us/data/opensearch" title="Battle.net Search" />
10
- <link rel="stylesheet" type="text/css" media="all" href="/sc2/static/local-common/css/common.css?v42" />
11
- <!--[if IE]> <link rel="stylesheet" type="text/css" media="all" href="/sc2/static/local-common/css/common-ie.css?v42" />
12
- <![endif]-->
13
- <!--[if IE 6]> <link rel="stylesheet" type="text/css" media="all" href="/sc2/static/local-common/css/common-ie6.css?v42" />
14
- <![endif]-->
15
- <!--[if IE 7]> <link rel="stylesheet" type="text/css" media="all" href="/sc2/static/local-common/css/common-ie7.css?v42" />
16
- <![endif]-->
17
- <link title="StarCraft II™ - News" href="/sc2/en/feed/news" type="application/atom+xml" rel="alternate"/>
18
- <link rel="stylesheet" type="text/css" media="all" href="/sc2/static/css/sc2.css?v21" />
19
- <link rel="stylesheet" type="text/css" media="all" href="/sc2/static/css/profile/profile.css?v21" />
20
- <!--[if IE 6]> <link rel="stylesheet" type="text/css" media="all" href="/sc2/static/css/profile/profile-ie6.css?v21" />
21
- <![endif]-->
22
- <!--[if IE]> <link rel="stylesheet" type="text/css" media="all" href="/sc2/static/css/sc2-ie.css?v21" />
23
- <![endif]-->
24
- <!--[if IE 6]> <link rel="stylesheet" type="text/css" media="all" href="/sc2/static/css/sc2-ie6.css?v21" />
25
- <![endif]-->
26
- <!--[if IE 7]> <link rel="stylesheet" type="text/css" media="all" href="/sc2/static/css/sc2-ie7.css?v21" />
27
- <![endif]-->
28
- <script type="text/javascript" src="/sc2/static/local-common/js/third-party/jquery.js?v42"></script>
29
- <script type="text/javascript" src="/sc2/static/local-common/js/core.js?v42"></script>
30
- <script type="text/javascript" src="/sc2/static/local-common/js/tooltip.js?v42"></script>
31
- <!--[if IE 6]> <script type="text/javascript">
32
- //<![CDATA[
33
- try { document.execCommand('BackgroundImageCache', false, true) } catch(e) {}
34
- //]]>
35
- </script>
36
- <![endif]-->
37
- <script type="text/javascript">
38
- //<![CDATA[
39
- Core.staticUrl = '/sc2/static';
40
- Core.sharedStaticUrl= '/sc2/static/local-common';
41
- Core.baseUrl = '/sc2/en';
42
- Core.projectUrl = '/sc2';
43
- Core.cdnUrl = 'http://us.media.blizzard.com';
44
- Core.supportUrl = 'http://us.battle.net/support/';
45
- Core.secureSupportUrl= 'https://us.battle.net/support/';
46
- Core.project = 'sc2';
47
- Core.locale = 'en-us';
48
- Core.language = 'en';
49
- Core.buildRegion = 'us';
50
- Core.region = 'us';
51
- Core.shortDateFormat= 'MM/dd/yyyy';
52
- Core.dateTimeFormat = 'MM/dd/yyyy hh:mm a';
53
- Core.loggedIn = false;
54
- Flash.videoPlayer = 'http://us.media.blizzard.com/global-video-player/themes/sc2/video-player.swf';
55
- Flash.videoBase = 'http://us.media.blizzard.com/sc2/media/videos';
56
- Flash.ratingImage = 'http://us.media.blizzard.com/global-video-player/ratings/sc2/en-us.jpg';
57
- Flash.expressInstall= 'http://us.media.blizzard.com/global-video-player/expressInstall.swf';
58
- var _gaq = _gaq || [];
59
- _gaq.push(['_setAccount', 'UA-544112-16']);
60
- _gaq.push(['_setDomainName', '.battle.net']);
61
- _gaq.push(['_setAllowLinker', true]);
62
- _gaq.push(['_trackPageview']);
63
- _gaq.push(['_trackPageLoadTime']);
64
- //]]>
65
- </script>
66
- <meta property="og:site_name" content="StarCraft II™" />
67
- <meta property="og:title" content="Demon - StarCraft II" />
68
- <meta property="og:image" content="http://us.media.blizzard.com/battle.net/logos/og-sc2.png" />
69
- <meta property="og:url" content="http://us.battle.net/sc2/en/profile/2377239/1/Demon/" />
70
- <meta property="og:type" content="website" />
71
- <meta property="og:locale" content="en_US" />
72
- <meta property="fb:admins" content="470332842321,433163104416"/>
73
- </head>
74
- <body class=""><div id="wrapper">
75
- <div id="header">
76
- <div class="search-bar">
77
- <form action="/sc2/en/search" method="get" autocomplete="off">
78
- <div>
79
- <input type="text" class="search-field input" name="q" id="search-field" maxlength="200" tabindex="40" alt="Search StarCraft II" value="Search StarCraft II" />
80
- <input type="submit" class="search-button" value="" tabindex="41" />
81
- </div>
82
- </form>
83
- </div>
84
- <h1 id="logo"><a href="/sc2/en/">Battle.net</a></h1>
85
- <div id="header-plate">
86
- <ul class="menu" id="menu">
87
- <li class="menu-home">
88
- <a href="/sc2/en/">
89
- <span>Home</span>
90
- </a>
91
- </li>
92
- <li class="menu-game">
93
- <a href="/sc2/en/game/">
94
- <span>Game Guide</span>
95
- </a>
96
- </li>
97
- <li class="menu-esports">
98
- <a href="/sc2/en/esports/">
99
- <span>eSports</span>
100
- </a>
101
- </li>
102
- <li class="menu-media">
103
- <a href="/sc2/en/media/">
104
- <span>Media</span>
105
- </a>
106
- </li>
107
- <li class="menu-forums">
108
- <a href="/sc2/en/forum/">
109
- <span>Forums</span>
110
- </a>
111
- </li>
112
- <li class="menu-buy-now">
113
- <a href="/sc2/en/buy-now/">
114
- <span>Buy Now</span>
115
- </a>
116
- </li>
117
- </ul>
118
- <div id="user-plate" class="ajax-update">
119
- <div id="user-empty">
120
- <a href="?login" onclick="return Login.open('https://us.battle.net/login/login.frag')"><strong>Log in</strong></a> with your Battle.net account to post comments and personalize your site content.
121
- </div>
122
- </div>
123
- <ol class="ui-breadcrumb">
124
- <li>
125
- <a href="/sc2/en/" rel="np">
126
- StarCraft II
127
- </a>
128
- <span class="breadcrumb-arrow"></span>
129
- </li>
130
- <li class="last">
131
- <a href="/sc2/en/profile/2377239/1/Demon/" rel="np">
132
- Demon
133
- </a>
134
- </li>
135
- </ol>
136
- </div>
137
- </div>
138
- <div id="content">
139
- <div id="content-top">
140
- <div id="content-bot"> <div id="profile-wrapper">
141
- <div id="profile-header">
142
- <div id="portrait" onclick="Core.goTo('/sc2/en/profile/2377239/1/Demon/');">
143
-
144
-
145
-
146
- <span class="icon-frame "
147
- style="background: url('/sc2/static/local-common/images/sc2/portraits/3-90.jpg?v42') -270px 0px no-repeat; width: 90px; height: 90px;">
148
-
149
- </span>
150
-
151
- <div id="portrait-frame">&#160;</div>
152
- </div>
153
-
154
- <div id="current-decals">
155
- <div class="current-decal" data-tooltip="Zerg Decal">
156
-
157
-
158
- <span class="icon-frame "
159
- style="background: url('/sc2/static/local-common/images/sc2/decals/0-45.jpg?v42') -90px -270px no-repeat; width: 45px; height: 45px;">
160
-
161
- <a href="/sc2/en/profile/2377239/1/Demon/rewards/zerg-decals#reward-2359737029" style="height: 45px"> </a>
162
- </span>
163
- </div>
164
-
165
- <div class="current-decal" data-tooltip="Protoss Decal">
166
-
167
-
168
- <span class="icon-frame "
169
- style="background: url('/sc2/static/local-common/images/sc2/decals/0-45.jpg?v42') -270px -225px no-repeat; width: 45px; height: 45px;">
170
-
171
- <a href="/sc2/en/profile/2377239/1/Demon/rewards/protoss-decals#reward-979617312" style="height: 45px"> </a>
172
- </span>
173
- </div>
174
-
175
- <div class="current-decal" data-tooltip="Terran Decal">
176
-
177
-
178
- <span class="icon-frame "
179
- style="background: url('/sc2/static/local-common/images/sc2/decals/0-45.jpg?v42') 0px 0px no-repeat; width: 45px; height: 45px;">
180
-
181
- <a href="/sc2/en/profile/2377239/1/Demon/rewards/terran-decals#reward-18730036" style="height: 45px"> </a>
182
- </span>
183
- </div>
184
- </div>
185
-
186
- <h2><a href="/sc2/en/profile/2377239/1/Demon/">Demon</a></h2>
187
- <h3>3660</h3>
188
- </div>
189
-
190
- <div id="profile-left">
191
- <ul id="profile-menu">
192
- <li class="active">
193
- <a href="/sc2/en/profile/2377239/1/Demon/">
194
-
195
-
196
- Profile
197
- </a>
198
- </li>
199
- <li>
200
- <a href="achievements/">
201
- <span class="forward"></span>
202
-
203
- Achievements
204
- </a>
205
- </li>
206
- <li>
207
- <a href="matches">
208
-
209
-
210
- Match History
211
- </a>
212
- </li>
213
- <li>
214
- <a href="rewards/">
215
- <span class="forward"></span>
216
-
217
- Rewards
218
- </a>
219
- </li>
220
- <li>
221
- <a href="ladder/">
222
- <span class="forward"></span>
223
-
224
- Leagues &amp; Ladders
225
- </a>
226
- </li>
227
- </ul>
228
-
229
-
230
- </div>
231
-
232
- <div id="profile-right">
233
-
234
- <div class="profile-module">
235
-
236
- <div class="module-top">
237
- <div class="module-bot">
238
- <div class="module-left" id="season-snapshot">
239
- <div class="module-title">
240
- <h3 class="title-globe">Player Stats</h3>
241
- </div>
242
-
243
- <div class="module-body snapshot-protoss">
244
-
245
- <div class="stat-block">
246
- <h3>Games Played This Season</h3>
247
- <h2>0</h2>
248
- </div>
249
-
250
- <div class="stat-block">
251
- <h3>Most Played Mode</h3>
252
- <h2>4v4</h2>
253
- </div>
254
-
255
- <div class="stat-block">
256
- <h3>Total Career Games</h3>
257
- <h2>1568</h2>
258
- </div>
259
-
260
- <div class="stat-block">
261
- <h3>Most Played Race</h3>
262
- <h2 class="race">Protoss</h2>
263
- </div>
264
-
265
- </div>
266
- </div>
267
-
268
- <div class="module-right" id="career-stats">
269
- <div class="module-title"></div>
270
-
271
- <div class="module-body">
272
-
273
-
274
-
275
-
276
- <div class="badge-item" data-tooltip="#best-finish-SOLO">
277
-
278
- <div class="badge">
279
-
280
- <span class="badge badge-platinum badge-medium-1">
281
- </span>
282
- </div>
283
- <div class="mode">1V1</div>
284
- <div class="league-name">
285
- Platinum
286
- </div>
287
-
288
- <div id="best-finish-SOLO" style="display: none">
289
- <div>
290
- <strong>Highest Career Finish:</strong> Platinum<br />
291
-
292
- <strong>Times Achieved:</strong> 2<br />
293
-
294
-
295
- <strong>Current League:</strong> Not Yet Ranked<br />
296
- </div>
297
- </div>
298
- </div>
299
-
300
-
301
-
302
-
303
-
304
- <div class="badge-item" data-tooltip="#best-finish-TEAM">
305
-
306
- <div class="badge">
307
-
308
- <span class="badge badge-diamond badge-medium-1">
309
- </span>
310
- </div>
311
- <div class="mode">TEAM</div>
312
- <div class="league-name">
313
- Diamond
314
- </div>
315
-
316
- <div id="best-finish-TEAM" style="display: none">
317
- <div>
318
- <strong>Highest Career Finish:</strong> Diamond<br />
319
-
320
- <strong>Times Achieved:</strong> 7<br />
321
-
322
-
323
- <strong>Current League:</strong> Not Yet Ranked<br />
324
- </div>
325
- </div>
326
- </div>
327
-
328
- <br />
329
-
330
-
331
-
332
- <div class="badge-item campaign">
333
- <div class="badge brutal"></div>
334
- <div class="mode">Wings of Liberty</div>
335
- <div class="rank">Brutal Campaign Ace</div>
336
- </div>
337
-
338
- <span class="clear"><!-- --></span>
339
- </div>
340
- </div>
341
-
342
- <span class="clear"><!-- --></span>
343
- </div>
344
- </div>
345
- </div>
346
-
347
- <div class="profile-module single">
348
- <div class="module-top">
349
- <div class="module-bot">
350
- <div class="module-left">
351
- <div class="module-title">
352
- <h3 class="title-shield">Achievements</h3>
353
- </div>
354
-
355
- <div class="module-body" id="top-achievements">
356
-
357
-
358
-
359
- <div class="progress-tile">
360
- <a href="achievements/category/3211280" class="progress-link">
361
- <span class="portrait-a">
362
-
363
-
364
-
365
- <span class="icon-frame "
366
- style="background: url('/sc2/static/local-common/images/sc2/achievements/2-75.jpg?v42') -150px -450px no-repeat; width: 75px; height: 75px;">
367
-
368
- </span>
369
-
370
- <span class="clear"><!-- --></span>
371
- </span>
372
-
373
- Liberty Campaign
374
- </a>
375
-
376
-
377
-
378
- <div class="achievements-progress">
379
- <div class="progress-wrapper">
380
- <div class="progress-bar" style="width: 99.3710691824%"></div>
381
- </div>
382
-
383
- <span>1580</span>
384
- </div>
385
- </div>
386
-
387
-
388
- <div class="progress-tile">
389
- <a href="achievements/category/4325398" class="progress-link">
390
- <span class="portrait-a">
391
-
392
-
393
-
394
- <span class="icon-frame "
395
- style="background: url('/sc2/static/local-common/images/sc2/achievements/2-75.jpg?v42') -525px -375px no-repeat; width: 75px; height: 75px;">
396
-
397
- </span>
398
-
399
- <span class="clear"><!-- --></span>
400
- </span>
401
-
402
- Exploration
403
- </a>
404
-
405
-
406
-
407
- <div class="achievements-progress">
408
- <div class="progress-wrapper">
409
- <div class="progress-bar" style="width: 100%"></div>
410
- </div>
411
-
412
- <span>480</span>
413
- </div>
414
- </div>
415
-
416
-
417
- <div class="progress-tile">
418
- <a href="achievements/category/4325392" class="progress-link">
419
- <span class="portrait-a">
420
-
421
-
422
-
423
-
424
- <span class="icon-frame "
425
- style="background: url('/sc2/static/local-common/images/sc2/achievements/2-75.jpg?v42') -300px -525px no-repeat; width: 75px; height: 75px;">
426
-
427
- </span>
428
-
429
- <span class="clear"><!-- --></span>
430
- </span>
431
-
432
- Custom Game
433
- </a>
434
-
435
-
436
-
437
- <div class="achievements-progress">
438
- <div class="progress-wrapper">
439
- <div class="progress-bar" style="width: 35.7894736842%"></div>
440
- </div>
441
-
442
- <span>340</span>
443
- </div>
444
- </div>
445
-
446
-
447
- <div class="progress-tile">
448
- <a href="achievements/category/4325386" class="progress-link">
449
- <span class="portrait-a">
450
-
451
-
452
-
453
- <span class="icon-frame "
454
- style="background: url('/sc2/static/local-common/images/sc2/achievements/2-75.jpg?v42') -75px -525px no-repeat; width: 75px; height: 75px;">
455
-
456
- </span>
457
-
458
- <span class="clear"><!-- --></span>
459
- </span>
460
-
461
- Cooperative
462
- </a>
463
-
464
-
465
-
466
- <div class="achievements-progress">
467
- <div class="progress-wrapper">
468
- <div class="progress-bar" style="width: 80.487804878%"></div>
469
- </div>
470
-
471
- <span>660</span>
472
- </div>
473
- </div>
474
-
475
-
476
- <div class="progress-tile">
477
- <a href="achievements/category/4325378" class="progress-link">
478
- <span class="portrait-a">
479
-
480
-
481
-
482
-
483
-
484
-
485
- <span class="icon-frame "
486
- style="background: url('/sc2/static/local-common/images/sc2/achievements/2-75.jpg?v42') -225px -450px no-repeat; width: 75px; height: 75px;">
487
-
488
- </span>
489
-
490
- <span class="clear"><!-- --></span>
491
- </span>
492
-
493
- Quick Match
494
- </a>
495
-
496
-
497
-
498
- <div class="achievements-progress">
499
- <div class="progress-wrapper">
500
- <div class="progress-bar" style="width: 21.8390804598%"></div>
501
- </div>
502
-
503
- <span>190</span>
504
- </div>
505
- </div>
506
-
507
- <span class="clear"><!-- --></span>
508
- </div>
509
- </div>
510
-
511
- <div class="module-right">
512
- <div class="module-title">
513
- <h3 class="title-trophy">Showcase</h3>
514
- </div>
515
-
516
- <div class="module-body" id="achievement-showcase">
517
-
518
- <div id="showcase-wrapper">
519
-
520
- <div class="showcase-tile">
521
- <a class="showcase-image" href="/sc2/en/profile/2377239/1/Demon/achievements/category/4325394">
522
- <span class="portrait-a">
523
-
524
-
525
- <span class="icon-frame "
526
- style="background: url('/sc2/static/local-common/images/sc2/achievements/2-75.jpg?v42') -75px -600px no-repeat; width: 75px; height: 75px;">
527
-
528
- </span>
529
-
530
- <span class="clear"><!-- --></span>
531
- </span>
532
- Hot Shot
533
- </a>
534
-
535
- <p>Finish a Qualification Round with an undefeated record.</p>
536
- </div>
537
-
538
- <div class="showcase-tile" style="display: none">
539
- <a class="showcase-image" href="/sc2/en/profile/2377239/1/Demon/achievements/category/3211279">
540
- <span class="portrait-a">
541
-
542
-
543
- <span class="icon-frame "
544
- style="background: url('/sc2/static/local-common/images/sc2/achievements/5-75.jpg?v42') -75px -525px no-repeat; width: 75px; height: 75px;">
545
-
546
- </span>
547
-
548
- <span class="clear"><!-- --></span>
549
- </span>
550
- StarCraft Master
551
- </a>
552
-
553
- <p>Complete all 30 rounds in “StarCraft Master&quot;.</p>
554
- </div>
555
-
556
- <div class="showcase-tile" style="display: none">
557
- <a class="showcase-image" href="/sc2/en/profile/2377239/1/Demon/achievements/category/4325385">
558
- <span class="portrait-a">
559
-
560
-
561
-
562
- <span class="icon-frame "
563
- style="background: url('/sc2/static/local-common/images/sc2/achievements/4-75.jpg?v42') -525px 0px no-repeat; width: 75px; height: 75px;">
564
-
565
- </span>
566
-
567
- <span class="clear"><!-- --></span>
568
- </span>
569
- Team Protoss 500
570
- </a>
571
-
572
- <p>Win 500 Team league Quick Match games as Protoss.</p>
573
- </div>
574
-
575
- <div class="showcase-tile" style="display: none">
576
- <a class="showcase-image" href="/sc2/en/profile/2377239/1/Demon/achievements/category/3211279">
577
- <span class="portrait-a">
578
-
579
-
580
- <span class="icon-frame "
581
- style="background: url('/sc2/static/local-common/images/sc2/achievements/5-75.jpg?v42') -375px -75px no-repeat; width: 75px; height: 75px;">
582
-
583
- </span>
584
-
585
- <span class="clear"><!-- --></span>
586
- </span>
587
- Night Of The Living III
588
- </a>
589
-
590
- <p>Survive 15 Infested Horde Attacks in the “Night 2 Die&quot; mode of the “Left 2 Die” scenario.</p>
591
- </div>
592
-
593
- <div class="showcase-tile" style="display: none">
594
- <a class="showcase-image" href="/sc2/en/profile/2377239/1/Demon/achievements/category/4325394">
595
- <span class="portrait-a">
596
-
597
-
598
- <span class="icon-frame "
599
- style="background: url('/sc2/static/local-common/images/sc2/achievements/5-75.jpg?v42') -225px -300px no-repeat; width: 75px; height: 75px;">
600
-
601
- </span>
602
-
603
- <span class="clear"><!-- --></span>
604
- </span>
605
- Team Top 100 Diamond
606
- </a>
607
-
608
- <p>Finished a season in a Team Diamond Division.</p>
609
- </div>
610
- </div>
611
-
612
- <a href="javascript:;" class="showcase-arrow left" onclick="return Sc2.rotateShowcase(-1);">&#160;</a>
613
- <a href="javascript:;" class="showcase-arrow right" onclick="return Sc2.rotateShowcase(1);">&#160;</a>
614
-
615
- <script type="text/javascript">
616
- //<![CDATA[
617
- $(function() {
618
- Sc2.beginShowcaseRotation();
619
- });
620
- //]]>
621
- </script>
622
- </div>
623
- </div>
624
-
625
- <span class="clear"><!-- --></span>
626
-
627
- <div class="module-footer">
628
- <a href="achievements/">More Achievements</a>
629
- </div>
630
- </div>
631
- </div>
632
- </div>
633
-
634
- <span class="clear"><!-- --></span>
635
-
636
- </div>
637
-
638
- <span class="clear"><!-- --></span>
639
- </div>
640
- </div>
641
- </div>
642
- </div>
643
- <div id="footer">
644
- <div id="sitemap" class="promotions">
645
- <div class="column">
646
- <h3 class="bnet">
647
- <a href="http://us.battle.net/" tabindex="100">Battle.net Home</a>
648
- </h3>
649
- <ul>
650
- <li><a href="http://us.battle.net/what-is/">What is Battle.net?</a></li>
651
- <li><a href="https://us.battle.net/account/management/get-a-game.html">Buy Games</a></li>
652
- <li><a href="https://us.battle.net/account/management/">Account</a></li>
653
- <li><a href="http://us.battle.net/support/">Support</a></li>
654
- <li><a href="http://us.battle.net/realid/">Real ID</a></li>
655
- <li><a href="http://us.battle.net/battletag/">BattleTag</a></li>
656
- </ul>
657
- </div>
658
- <div class="column">
659
- <h3 class="games">
660
- <a href="http://us.battle.net/" tabindex="100">Games</a>
661
- </h3>
662
- <ul>
663
- <li><a href="http://us.battle.net/sc2/">StarCraft II™</a></li>
664
- <li><a href="http://us.battle.net/wow/">World of Warcraft™</a></li>
665
- <li><a href="http://us.battle.net/d3/">Diablo III™</a></li>
666
- <li><a href="http://us.battle.net/games/classic">Classic Games</a></li>
667
- <li><a href="https://us.battle.net/account/download/">Game Client Downloads</a></li>
668
- </ul>
669
- </div>
670
- <div class="column">
671
- <h3 class="account">
672
- <a href="https://us.battle.net/account/management/" tabindex="100">Account</a>
673
- </h3>
674
- <ul>
675
- <li><a href="https://us.battle.net/account/support/login-support.html">Can’t log in?</a></li>
676
- <li><a href="https://us.battle.net/account/creation/tos.html">Create Account</a></li>
677
- <li><a href="https://us.battle.net/account/management/">Account Summary</a></li>
678
- <li><a href="https://us.battle.net/account/management/authenticator.html">Account Security</a></li>
679
- <li><a href="https://us.battle.net/account/management/add-game.html">Add a Game</a></li>
680
- <li><a href="https://us.battle.net/account/management/redemption/redeem.html">Redeem Promo Codes</a></li>
681
- </ul>
682
- </div>
683
- <div class="column">
684
- <h3 class="support">
685
- <a href="http://us.battle.net/support/" tabindex="100">Support</a>
686
- </h3>
687
- <ul>
688
- <li><a href="http://us.battle.net/support/">Support Articles</a></li>
689
- <li><a href="https://us.battle.net/account/parental-controls/index.html">Parental Controls</a></li>
690
- <li><a href="http://us.battle.net/security/">Protect Your Account</a></li>
691
- <li><a href="http://us.battle.net/security/help">Help! I got hacked!</a></li>
692
- </ul>
693
- </div>
694
- <div id="footer-promotions">
695
- <div class="sidebar-content"></div>
696
- <div id="sidebar-marketing" class="sidebar-module">
697
- <div class="bnet-offer">
698
- <!-- -->
699
- <div class="bnet-offer-bg">
700
- <a href="https://us.battle.net/account/activation/landing.html?product=S2&amp;key&amp;purchase" target="_blank" id="ad5207109" class="bnet-offer-image" onclick="BnetAds.trackEvent('5207109', 'SCIIdig', 'sc2', true);">
701
- <img src="http://us.media2.battle.net/cms/ad_300x100/ZNB918LXVJ251309281567042.jpg" width="300" height="100" alt=""/>
702
- </a>
703
- </div>
704
- <script type="text/javascript">
705
- //<![CDATA[
706
- if(typeof (BnetAds.addEvent) != "undefined" )
707
- BnetAds.addEvent(window, 'load', function(){ BnetAds.trackEvent('5207109', 'SCIIdig', 'sc2'); } );
708
- else
709
- BnetAds.trackEvent('5207109', 'SCIIdig', 'sc2');
710
- //]]>
711
- </script>
712
- </div>
713
- </div>
714
- </div>
715
- <span class="clear"><!-- --></span>
716
- </div>
717
- <div id="copyright">
718
- <a href="javascript:;" tabindex="100" id="change-language">
719
- <span>Americas - English (US)</span>
720
- </a>
721
- <span>©2012 Blizzard Entertainment, Inc. All rights reserved</span>
722
- <a target="_blank" href="http://us.blizzard.com/company/about/termsofuse.html" tabindex="100">Terms of Use</a>
723
- <a target="_blank" href="http://us.blizzard.com/company/legal/" tabindex="100">Legal</a>
724
- <a target="_blank" href="http://us.blizzard.com/company/about/privacy.html" tabindex="100">Privacy Policy</a>
725
- <a target="_blank" href="http://us.blizzard.com/company/about/infringementnotice.html" tabindex="100">Copyright Infringement</a>
726
- </div>
727
- <div id="international"></div>
728
- <div id="legal">
729
- <div id="legal-ratings" class="png-fix">
730
- <a rel="nofollow" class="truste-link" href="//privacy-policy.truste.com/click-with-confidence/ctv/en/us.battle.net/seal_m" target="_blank">
731
- <img class="legal-image" src="//privacy-policy.truste.com/certified-seal/wps/en/us.battle.net/seal_m.png" alt="Validate TRUSTe privacy certification"/>
732
- </a>
733
- <a rel="nofollow" target="_blank" href="http://www.esrb.org/ratings/ratings_guide.jsp">
734
- <img class="legal-image" alt="" src="/sc2/static/local-common/images/legal/us/esrb-teen-sc2.png" />
735
- </a>
736
- </div>
737
- <div id="blizzard" class="png-fix">
738
- <a href="http://blizzard.com" tabindex="100"><img src="/sc2/static/local-common/images/logos/blizz-sc2.png" alt="" /></a>
739
- </div>
740
- <span class="clear"><!-- --></span>
741
- </div>
742
- </div>
743
- <div id="service">
744
- <ul class="service-bar">
745
- <li class="service-cell service-home"><a href="http://us.battle.net/" tabindex="50" accesskey="1" title="Battle.net Home"> </a></li>
746
- <li class="service-cell service-welcome">
747
- <a href="?login" onclick="return Login.open()">Log in</a> or <a href="https://us.battle.net/account/creation/tos.html">Create an Account</a>
748
- </li>
749
- <li class="service-cell service-account"><a href="https://us.battle.net/account/management/" class="service-link" tabindex="50" accesskey="3">Account</a></li>
750
- <li class="service-cell service-support service-support-enhanced">
751
- <a href="#support" class="service-link service-link-dropdown" tabindex="50" accesskey="4" id="support-link" onclick="return false" style="cursor: progress" rel="javascript">Support<span class="no-support-tickets" id="support-ticket-count"></span></a>
752
- <div class="support-menu" id="support-menu" style="display:none;">
753
- <div class="support-primary">
754
- <ul class="support-nav">
755
- <li>
756
- <a href="http://us.battle.net/support/" tabindex="55" class="support-category">
757
- <strong class="support-caption">Knowledge Center</strong>
758
- Browse our support articles
759
- </a>
760
- </li>
761
- <li>
762
- <a href="https://us.battle.net/support/ticket/status" tabindex="55" class="support-category">
763
- <strong class="support-caption">Your Support Tickets</strong>
764
- View your active tickets (login required).
765
- </a>
766
- </li>
767
- </ul>
768
- <span class="clear"><!-- --></span>
769
- </div>
770
- <div class="support-secondary"></div>
771
- <!--[if IE 6]> <iframe id="support-shim" src="javascript:false;" frameborder="0" scrolling="no" style="display: block; position: absolute; top: 0; left: 9px; width: 297px; height: 400px; z-index: -1;"></iframe>
772
- <script type="text/javascript">
773
- //<![CDATA[
774
- (function(){
775
- var doc = document;
776
- var shim = doc.getElementById('support-shim');
777
- shim.style.filter = 'progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';
778
- shim.style.display = 'block';
779
- })();
780
- //]]>
781
- </script>
782
- <![endif]-->
783
- </div>
784
- </li>
785
- <li class="service-cell service-explore">
786
- <a href="#explore" tabindex="50" accesskey="5" class="dropdown" id="explore-link" onclick="return false" style="cursor: progress" rel="javascript">Explore</a>
787
- <div class="explore-menu" id="explore-menu" style="display:none;">
788
- <div class="explore-primary">
789
- <ul class="explore-nav">
790
- <li>
791
- <a href="http://us.battle.net/" tabindex="55" data-label="Home">
792
- <strong class="explore-caption">Battle.net Home</strong>
793
- Connect. Play. Unite.
794
- </a>
795
- </li>
796
- <li>
797
- <a href="https://us.battle.net/account/management/" tabindex="55" data-label="Account">
798
- <strong class="explore-caption">Account</strong>
799
- Manage your Account
800
- </a>
801
- </li>
802
- <li>
803
- <a href="http://us.battle.net/support/" tabindex="55" data-label="Support">
804
- <strong class="explore-caption">Support</strong>
805
- Get Support and explore the knowledgebase.
806
- </a>
807
- </li>
808
- <li>
809
- <a href="https://us.battle.net/account/management/get-a-game.html" tabindex="55" data-label="Buy Games">
810
- <strong class="explore-caption">Buy Games</strong>
811
- Digital Games for Download
812
- </a>
813
- </li>
814
- </ul>
815
- <div class="explore-links">
816
- <h2 class="explore-caption">More</h2>
817
- <ul>
818
- <li><a href="http://us.battle.net/what-is/" tabindex="55" data-label="More">What is Battle.net?</a></li>
819
- <li><a href="https://us.battle.net/account/parental-controls/index.html" tabindex="55" data-label="More">Parental Controls</a></li>
820
- <li><a href="http://us.battle.net/security/" tabindex="55" data-label="More">Account Security</a></li>
821
- <li><a href="https://us.battle.net/account/management/add-game.html" tabindex="55" data-label="More">Add a Game</a></li>
822
- <li><a href="https://us.battle.net/account/support/password-reset.html" tabindex="55" data-label="More">Can’t log in?</a></li>
823
- <li><a href="https://us.battle.net/account/download/" tabindex="55" data-label="More">Game Client Downloads</a></li>
824
- <li><a href="https://us.battle.net/account/management/redemption/redeem.html" tabindex="55" data-label="More">Redeem Promo Codes</a></li>
825
- <li><a href="http://us.battle.net/games/classic" tabindex="55" data-label="More">Classic Games</a></li>
826
- </ul>
827
- </div>
828
- <span class="clear"><!-- --></span>
829
- <!--[if IE 6]> <iframe id="explore-shim" src="javascript:false;" frameborder="0" scrolling="no" style="display: block; position: absolute; top: 0; left: 9px; width: 409px; height: 400px; z-index: -1;"></iframe>
830
- <script type="text/javascript">
831
- //<![CDATA[
832
- (function(){
833
- var doc = document;
834
- var shim = doc.getElementById('explore-shim');
835
- shim.style.filter = 'progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';
836
- shim.style.display = 'block';
837
- })();
838
- //]]>
839
- </script>
840
- <![endif]-->
841
- </div>
842
- <ul class="explore-secondary">
843
- <li class="explore-game explore-game-sc2">
844
- <a href="http://us.battle.net/sc2/" tabindex="55" data-label="Game - sc2">
845
- <span class="explore-game-inner">
846
- <strong class="explore-caption">StarCraft II™</strong>
847
- <span>News &amp; Forums</span> <span>Beginner’s Guide</span> <span>Player Profiles</span>
848
- </span>
849
- </a>
850
- </li>
851
- <li class="explore-game explore-game-wow">
852
- <a href="http://us.battle.net/wow/" tabindex="55" data-label="Game - wow">
853
- <span class="explore-game-inner">
854
- <strong class="explore-caption">World of Warcraft™</strong>
855
- <span>Character Profiles</span> <span>News &amp; Forums</span> <span>Game Guide</span>
856
- </span>
857
- </a>
858
- </li>
859
- <li class="explore-game explore-game-d3">
860
- <a href="http://us.battle.net/d3/" tabindex="55" data-label="Game - d3">
861
- <span class="explore-game-inner">
862
- <strong class="explore-caption">Diablo III™</strong>
863
- <span>Game Guide</span> <span>News</span> <span>Forums</span>
864
- </span>
865
- </a>
866
- </li>
867
- </ul>
868
- </div>
869
- </li>
870
- </ul>
871
- <div id="warnings-wrapper">
872
- <script type="text/javascript">
873
- //<![CDATA[
874
- $(function() {
875
- App.saveCookie('html5Warning');
876
- App.resetCookie('browserWarning');
877
- });
878
- //]]>
879
- </script>
880
- <!--[if lt IE 8]> <div id="browser-warning" class="warning warning-red">
881
- <div class="warning-inner2">
882
- You are using an outdated web browser.<br />
883
- <a href="http://us.blizzard.com/support/article/browserupdate">Upgrade</a> or <a href="http://www.google.com/chromeframe/?hl=en-US" id="chrome-frame-link">install Google Chrome Frame</a>.
884
- <a href="#close" class="warning-close" onclick="App.closeWarning('#browser-warning', 'browserWarning'); return false;"></a>
885
- </div>
886
- </div>
887
- <![endif]-->
888
- <!--[if lt IE 8]> <script type="text/javascript" src="/sc2/static/local-common/js/third-party/CFInstall.min.js?v42"></script>
889
- <script type="text/javascript">
890
- //<![CDATA[
891
- $(function() {
892
- var age = 365 * 24 * 60 * 60 * 1000;
893
- var src = 'https://www.google.com/chromeframe/?hl=en-US';
894
- if ('http:' == document.location.protocol) {
895
- src = 'http://www.google.com/chromeframe/?hl=en-US';
896
- }
897
- document.cookie = "disableGCFCheck=0;path=/;max-age="+age;
898
- $('#chrome-frame-link').bind({
899
- 'click': function() {
900
- App.closeWarning('#browser-warning');
901
- CFInstall.check({
902
- mode: 'overlay',
903
- url: src
904
- });
905
- return false;
906
- }
907
- });
908
- });
909
- //]]>
910
- </script>
911
- <![endif]-->
912
- <noscript>
913
- <div id="javascript-warning" class="warning warning-red">
914
- <div class="warning-inner2">
915
- JavaScript must be enabled to use this site.
916
- </div>
917
- </div>
918
- </noscript>
919
- </div>
920
- </div>
921
- </div><script type="text/javascript" src="/sc2/static/local-common/js/search.js?v42"></script>
922
- <script type="text/javascript">
923
- //<![CDATA[
924
- var xsToken = '';
925
- var supportToken = '';
926
- var Msg = {
927
- support: {
928
- ticketNew: 'Ticket {0} was created.',
929
- ticketStatus: 'Ticket {0}’s status changed to {1}.',
930
- ticketOpen: 'Open',
931
- ticketAnswered: 'Answered',
932
- ticketResolved: 'Resolved',
933
- ticketCanceled: 'Canceled',
934
- ticketArchived: 'Archived',
935
- ticketInfo: 'Need Info',
936
- ticketAll: 'View All Tickets'
937
- },
938
- cms: {
939
- requestError: 'Your request cannot be completed.',
940
- ignoreNot: 'Not ignoring this user',
941
- ignoreAlready: 'Already ignoring this user',
942
- stickyRequested: 'Sticky requested',
943
- stickyHasBeenRequested: 'You have already sent a sticky request for this topic.',
944
- postAdded: 'Post added to tracker',
945
- postRemoved: 'Post removed from tracker',
946
- userAdded: 'User added to tracker',
947
- userRemoved: 'User removed from tracker',
948
- validationError: 'A required field is incomplete',
949
- characterExceed: 'The post body exceeds XXXXXX characters.',
950
- searchFor: "Search for",
951
- searchTags: "Articles tagged:",
952
- characterAjaxError: "You may have become logged out. Please refresh the page and try again.",
953
- ilvl: "Level {0}",
954
- shortQuery: "Search requests must be at least three characters long."
955
- },
956
- bml: {
957
- bold: 'Bold',
958
- italics: 'Italics',
959
- underline: 'Underline',
960
- list: 'Unordered List',
961
- listItem: 'List Item',
962
- quote: 'Quote',
963
- quoteBy: 'Posted by {0}',
964
- unformat: 'Remove Formating',
965
- cleanup: 'Fix Linebreaks',
966
- code: 'Code Blocks',
967
- item: 'WoW Item',
968
- itemPrompt: 'Item ID:',
969
- url: 'URL',
970
- urlPrompt: 'URL Address:'
971
- },
972
- ui: {
973
- submit: 'Submit',
974
- cancel: 'Cancel',
975
- reset: 'Reset',
976
- viewInGallery: 'View in gallery',
977
- loading: 'Loading…',
978
- unexpectedError: 'An error has occurred',
979
- fansiteFind: 'Find this on…',
980
- fansiteFindType: 'Find {0} on…',
981
- fansiteNone: 'No fansites available.'
982
- },
983
- grammar: {
984
- colon: '{0}:',
985
- first: 'First',
986
- last: 'Last'
987
- },
988
- fansite: {
989
- achievement: 'achievement',
990
- character: 'character',
991
- faction: 'faction',
992
- 'class': 'class',
993
- object: 'object',
994
- talentcalc: 'talents',
995
- skill: 'profession',
996
- quest: 'quest',
997
- spell: 'spell',
998
- event: 'event',
999
- title: 'title',
1000
- arena: 'arena team',
1001
- guild: 'guild',
1002
- zone: 'zone',
1003
- item: 'item',
1004
- race: 'race',
1005
- npc: 'NPC',
1006
- pet: 'pet'
1007
- },
1008
- search: {
1009
- kb: 'Support',
1010
- post: 'Forums',
1011
- article: 'Blog Articles',
1012
- static: 'General Content',
1013
- wowcharacter: 'Characters',
1014
- wowitem: 'Items',
1015
- wowguild: 'Guilds',
1016
- wowarenateam: 'Arena Teams',
1017
- url: 'Suggested Links',
1018
- other: 'Other'
1019
- }
1020
- };
1021
- //]]>
1022
- </script>
1023
- <script type="text/javascript">
1024
- //<![CDATA[
1025
- Core.load("/sc2/static/local-common/js/third-party/jquery-ui-1.8.6.custom.min.js?v42");
1026
- Core.load("/sc2/static/local-common/js/login.js?v42", false, function() {
1027
- Login.embeddedUrl = 'https://us.battle.net/login/login.frag';
1028
- });
1029
- //]]>
1030
- </script>
1031
- <script type="text/javascript" src="/sc2/static/local-common/js/menu.js?v42"></script>
1032
- <script type="text/javascript" src="/sc2/static/js/sc2.js?v21"></script>
1033
- <!--[if IE 6]> <script type="text/javascript" src="/sc2/static/local-common/js/third-party/DD_belatedPNG.js?v42"></script>
1034
- <script type="text/javascript">
1035
- //<![CDATA[
1036
- DD_belatedPNG.fix('.icon');
1037
- //]]>
1038
- </script>
1039
- <![endif]-->
1040
- <script type="text/javascript">
1041
- //<![CDATA[
1042
- $(function(){
1043
- Menu.initialize('/data/menu.json?v42');
1044
- Search.initialize('/sc2/en/search/ta');
1045
- Tooltip.options.useTable = true;
1046
- });
1047
- //]]>
1048
- </script>
1049
- <!--[if lt IE 8]> <script type="text/javascript" src="/sc2/static/local-common/js/third-party/jquery.pngFix.pack.js?v42"></script>
1050
- <script type="text/javascript">
1051
- //<![CDATA[
1052
- $('.png-fix').pngFix(); //]]>
1053
- </script>
1054
- <![endif]-->
1055
- <script type="text/javascript">
1056
- //<![CDATA[
1057
- (function() {
1058
- var ga = document.createElement('script');
1059
- var src = "https://ssl.google-analytics.com/ga.js";
1060
- if ('http:' == document.location.protocol) {
1061
- src = "http://www.google-analytics.com/ga.js";
1062
- }
1063
- ga.type = 'text/javascript';
1064
- ga.setAttribute('async', 'true');
1065
- ga.src = src;
1066
- var s = document.getElementsByTagName('script');
1067
- s = s[s.length-1];
1068
- s.parentNode.insertBefore(ga, s.nextSibling);
1069
- })();
1070
- //]]>
1071
- </script>
1072
- </body>
1073
- </html>
1074
-