static LS qwantImageSearch(S query) { S page = loadPageWithUserAgentAndTimeout("https://api.qwant.com/api/search/images" + hquery( count := 50, q := query, t := "images", safesearch := 1, locale := "en_US", uiv := 4), "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36", 10.0); print(page); Map map = jsonDecodeMap(page); Map map2 = cast mapGet(map, "data"); Map map3 = cast mapGet(map2, "result"); L items = cast mapGet(map3, "items"); ret collect media(items); }