def load_pa11y_results(stdout, spider, url):
if not stdout:<EOL><INDENT>return []<EOL><DEDENT>results = json.loads(stdout.decode('<STR_LIT:utf8>'))<EOL>ignore_rules = ignore_rules_for_url(spider, url)<EOL>for rule in ignore_rules:<EOL><INDENT>results = [<EOL>result for result in results<EOL>if not ignore_rule_matches_result(rule, result)<EOL>]<EOL><DEDENT>return results<EOL>
Load output from pa11y, filtering out the ignored messages.
The `stdout` parameter is a bytestring, not a unicode string.