Converting links to list