This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.File | |
| import scala.collection.JavaConversions._ | |
| import org.jsoup.Jsoup | |
| import org.jsoup.nodes.Element | |
| object ParseVehicleData extends App { | |
| val baseURL = "http://worldoftanks.com" | |
| val categories = Map( | |
| "Light Tanks" -> "lt", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "by_tank": { | |
| "bison_i": [3, 5], | |
| "t2_lt": [2, 4], | |
| "m3_stuart_ll": [3, 4], | |
| "bt-sv": [3, 4], | |
| "pzii_j": [3, 4], | |
| "t-127": [3, 4], | |
| "t-50": [5, 9], | |
| "vk1602": [5, 9], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class A | |
| def my_class; self.class.name end | |
| end | |
| class B < A | |
| end |
NewerOlder