def parse_oembed_data(oembed_data, data):
data.update({<EOL>'<STR_LIT>': oembed_data,<EOL>})<EOL>_type = oembed_data.get('<STR_LIT:type>')<EOL>provider_name = oembed_data.get('<STR_LIT>')<EOL>if not _type:<EOL><INDENT>return data<EOL><DEDENT>if oembed_data.get('<STR_LIT:title>'):<EOL><INDENT>data.update({<EOL>'<STR_LIT:title>': oembed_data.get('<STR_LIT:title>'),<EOL>})<EOL><DEDENT>if _type == '<STR_LIT>':<EOL><INDENT>try:<EOL><INDENT>item = {<EOL>'<STR_LIT:width>': convert_to_int(oembed_data.get('<STR_LIT:width>')),<EOL>'<STR_LIT>': convert_to_int(oembed_data.get('<STR_LIT>'))<EOL>}<EOL>if provider_name in ['<STR_LIT>', ]:<EOL><INDENT>item['<STR_LIT:src>'] = HYPERLINK_PATTERN.search(oembed_data.get('<STR_LIT:html>')).group(<NUM_LIT:0>)<EOL><DEDENT>data['<STR_LIT>'].append(item)<EOL><DEDENT>except Exception:<EOL><INDENT>pass<EOL><DEDENT>if oembed_data.get('<STR_LIT>'):<EOL><INDENT>item = {<EOL>'<STR_LIT:width>': convert_to_int(oembed_data.get('<STR_LIT>')),<EOL>'<STR_LIT>': convert_to_int(oembed_data.get('<STR_LIT>')),<EOL>'<STR_LIT:src>': oembed_data.get('<STR_LIT>')<EOL>}<EOL>data['<STR_LIT>'].append(item)<EOL><DEDENT><DEDENT>return data<EOL>
Parse OEmbed resposne data to inject into lassie's response dict.

    :param oembed_data: OEmbed response data.
    :type oembed_data: dict
    :param data: Refrence to data variable being updated.
    :type data: dict