def normalize_stream_url(stream_url):
    """Makes a twitch stream url from a stream name (leaves urls as is)"""
    if stream_url.startswith("http://") or stream_url.startswith("https://"):
        return stream_url
    return "http://twitch.tv/%s" % stream_url