mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
[ISD] Gavony Township
This commit is contained in:
parent
a5d5f012a8
commit
8df6df5faf
2 changed files with 36 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ public class WizardCardsImageSource implements CardImageSource {
|
|||
Document doc = Jsoup.connect("http://www.wizards.com/magic/tcg/article.aspx?x=mtg/tcg/" + (String) setsAliases.get(cardSet)).get();
|
||||
Elements cardsImages = doc.select("img[height$=370]");
|
||||
for (int i = 0; i < cardsImages.size(); i++) {
|
||||
String cardName = cardsImages.get(i).attr("title").replace("Æ", "AE");
|
||||
String cardName = cardsImages.get(i).attr("title").replace("\u00C6", "AE");
|
||||
if (cardName != null && !cardName.isEmpty()) {
|
||||
if (cardName.equals("Forest") || cardName.equals("Swamp") || cardName.equals("Mountain") || cardName.equals("Island") || cardName.equals("Plains")) {
|
||||
int landNumber = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue