def _filter_meta_data(self, source, soup, data, url=None):
meta = FILTER_MAPS['<STR_LIT>'][source]<EOL>meta_map = meta['<STR_LIT>']<EOL>html = soup.find_all('<STR_LIT>', {meta['<STR_LIT:key>']: meta['<STR_LIT>']})<EOL>image = {}<EOL>video = {}<EOL>for line in html:<EOL><INDENT>prop = line.get(meta['<STR_LIT:key>'])<EOL>value = line.get('<STR_LIT:content>')<EOL>_prop = meta_map.get(prop)<EOL>if prop in meta_map and _prop and not data.get(_prop):<EOL><INDENT>image_prop = meta['<STR_LIT>']<EOL>video_prop = meta['<STR_LIT>']<EOL>if prop.startswith((image_prop, video_prop)) andprop.endswith(('<STR_LIT:width>', '<STR_LIT>')):<EOL><INDENT>if prop.endswith(('<STR_LIT:width>', '<STR_LIT>')):<EOL><INDENT>value = convert_to_int(value)<EOL><DEDENT><DEDENT>if meta_map[prop] == '<STR_LIT>':<EOL><INDENT>locale = normalize_locale(value)<EOL>if locale:<EOL><INDENT>data['<STR_LIT>'] = locale<EOL><DEDENT><DEDENT>if prop == '<STR_LIT>':<EOL><INDENT>if isinstance(value, str):<EOL><INDENT>value = [v.strip() for v in value.split('<STR_LIT:U+002C>')]<EOL><DEDENT>else:<EOL><INDENT>value = []<EOL><DEDENT><DEDENT>if image_prop and prop.startswith(image_prop) and value:<EOL><INDENT>if prop == '<STR_LIT>' and url:<EOL><INDENT>value = urljoin(url, value)<EOL><DEDENT>image[meta_map[prop]] = value<EOL><DEDENT>elif video_prop and prop.startswith(video_prop) and value:<EOL><INDENT>video[meta_map[prop]] = value<EOL><DEDENT>else:<EOL><INDENT>data[meta_map[prop]] = value<EOL><DEDENT><DEDENT><DEDENT>if image:<EOL><INDENT>image['<STR_LIT:type>'] = image_prop<EOL>data['<STR_LIT>'].append(image)<EOL><DEDENT>if video:<EOL><INDENT>data['<STR_LIT>'].append(video)<EOL><DEDENT>
This method filters the web page content for meta tags that match patterns given in the ``FILTER_MAPS``

        :param source: The key of the meta dictionary in ``FILTER_MAPS['meta']``
        :type source: string
        :param soup: BeautifulSoup instance to find meta tags
        :type soup: instance
        :param data: The response dictionary to manipulate
        :type data: (dict)