async def getlinks(url):
    """Get Links from the Linkfetcher class."""
    page = Linkfetcher(url)
    await page.linkfetch()
    for i, url in enumerate(page):
        return (i, url)
Get Links from the Linkfetcher class.