human
Complete this python program:
def description_generator(text):
assistant
#Here is the Python program you requested.

    """Fetches a videos description and parses it for
    <artist> - <track> combinations
    """
    if (not isinstance(g.model, Playlist)):
        g.message = util.F('mkp    desc    unknown')
        return
    num = text.replace('--description', '')
    num = num.replace('-d', '')
    num = util.number_string_to_list(num)[0]
    query = {}
    query['id'] = g.model[num].ytid
    query['part'] = 'snippet'
    query['maxResults'] = '1'
    data = pafy.call_gdata('videos', query)['items'][0]['snippet']
    title = ('mkp    %s' % data['title'])
    data = util.fetch_songs(data['description'], data['title'])
    columns = [{'name': 'idx', 'size': 3, 'heading': 'Num'}, {'name': 'artist', 'size': 30, 'heading': 'Artist'}, {'name': 'title', 'size': 'remaining', 'heading': 'Title'}]
    def run_m(idx):
        '    Create    playlist    based    on    the\n                                                results    selected\n                                '
        create_playlist(idx, title)
    if data:
        data = [listview.ListSongtitle(x) for x in data]
        g.content = listview.ListView(columns, data, run_m)
        g.message = util.F('mkp    desc    which    data')
    else:
        g.message = util.F('mkp    no    valid')
    return