human
Complete this python program:
def _get_index_videos(course):
assistant
#Here is the Python code you requested.

    """Returns the information about each video upload required for the video list
    """
    course_id = unicode(course.id)
    attrs = ['edx_video_id', 'client_video_id', 'created', 'duration', 'status', 'courses']
    def _get_values(video):
        '\n                                Get    data    for    predefined    video    attributes.\n                                '
        values = {}
        for attr in attrs:
            if (attr == 'courses'):
                course = filter((lambda c: (course_id in c)), video['courses'])
                ((__, values['course_video_image_url']),) = course[0].items()
            else:
                values[attr] = video[attr]
        return values
    return [_get_values(video) for video in _get_videos(course)]