def random_video():
    """
    In GET request
        - Selects a random video from the database and redirects to the page of the video.
    """
    if request.method == 'GET':
        if 'user' in session:
            is_admin = (requests.get(url='http://127.0.0.1:8080/is-admin/{}'.format(session['user'])).content).decode("utf-8") # Done
            if is_admin == "True":
                abort(403)
        random_video_ID = ((requests.get(url='http://127.0.0.1:8080/random').content)).decode("utf-8") # Done
        return redirect(url_for('watch_video', v = random_video_ID))