static Pair> macmillanDefinitions2(S word) { S url = "http://www.macmillandictionary.com/dictionary/british/" + urlencode(word); S html = loadPageWithUserAgent(url, "Mac Safari"); L tok = htmlTok(html); ret pair( trimJoin(dropTagsAndHTMLComments(unnull(first( findContainerTagWithParamsDeep(tok, "span", "class" := "BASE"))))), (L) map(fg(f trimJoin, f dropTagsAndHTMLComments), findContainerTagWithParamsDeep(tok, "span", "class" := "DEFINITION"))); }