Get links from document