Updated links_get method