'Search in xssed.com and parse the output.
:param fuzzable_request: A fuzzable_request instance that contains
(among other things) the URL to test.'

@runonce(exc_class=RunOnce)
def discover(self, fuzzable_request):

    target_domain = fuzzable_request.get_url().get_root_domain()
    target_path = ('/search?key=.%s' % target_domain)
    check_url = self.XSSED_URL.url_join(target_path)
    try:
        response = self._uri_opener.GET(check_url)
    except BaseFrameworkException as e:
        msg = 'An    exception    was    raised    while    running    xssed_dot_com    plugin.    Exception:    "%s".'
        om.out.debug((msg % e))
    else:
        self._parse_xssed_search_result(response)
