def parse_videos(video):
    """
    Parse data from the video JSON structure
    
    Parameters
    ----------
    video : JSON object of strings
        The video search result requested from YouTube API v3
    Returns
    ----------
    video_dict : dictionary of strings
        The dictionary contianing video title, published date, id, views, likes, dislikes, and no. of comments
    """
    
    
    title = video['snippet']['title']
    date = video['snippet']['publishedAt']
    channel = video['snippet']['channelTitle']
    ID = video['id']
    stats = video['statistics']
    views = stats['viewCount']
    try:
        likes = stats['likeCount']
        dislikes = stats['dislikeCount']
    except:
        likes = 0
        dislikes = 0
    try:
        commentCount = stats['commentCount']
    except:
        commentCount = 0
    
    video_dict = {
        'title': title,
        'date': date,
        'channel': channel,
        'id': ID,
        'views': views,
        'likes': likes,
        'dislikes': dislikes,
        'comment_count': commentCount
    }
    
    return video_dict