def add_url_ext(url):
    url = url.rstrip('/')
    if not has_ext(url):
        url = '{0}.com'.format(url)
    return url
Add .com extension to url if none found
dataset/ETHPy150Open huntrar/scrape/scrape/utils.py/add_url_ext