import re


def upload_via_vredditcc(url):
    """Generate video link for https://vreddit.cc"""
    vreddit_video = re.compile(r'https?://v\.redd\.it/(\w+)')
    vreddit_id = vreddit_video.findall(url)[0]
    return "https://vreddit.cc/" + vreddit_id