[GathererCrawler][minor] changed back a file from my previous commit (change was meant only for local testing)

This commit is contained in:
North 2012-02-02 07:55:04 +02:00
parent a014ca5c1d
commit 92873a1b5b

View file

@ -45,7 +45,7 @@ public class Main {
List<String> sets = new ArrayList<String>(); List<String> sets = new ArrayList<String>();
// Change to false if you only want to add a specific set // Change to false if you only want to add a specific set
if (false) { if (true) {
Document doc = Jsoup.connect("http://gatherer.wizards.com/Pages/Advanced.aspx").get(); Document doc = Jsoup.connect("http://gatherer.wizards.com/Pages/Advanced.aspx").get();
Elements select = doc.select("#autoCompleteSourceBoxsetAddText0_InnerTextBoxcontainer a"); Elements select = doc.select("#autoCompleteSourceBoxsetAddText0_InnerTextBoxcontainer a");
if (!select.isEmpty()) { if (!select.isEmpty()) {