Holyshit it's hard.

Anyone have any tips?

The most I've gotten to is being able to parse the HTML for all of the input field's names and values, but how can I grab them one by one?

My current code:

Code:
import org.jsoup.Jsoup;
import org.jsoup.helper.Validate;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;

import java.io.IOException;

class JSoupTest {
    public static void main(String[] args) throws IOException {
        Document doc = Jsoup.connect("http://gaiaonline.com/auth").get();
        Elements inputs = doc.select("sid|input");
        for(Element input : inputs) {
            System.out.println(input.attr("name"));
            System.out.println(input.attr("value"));
        }
    }
}
Thanks