code: def check(self, url_data):
          
          data = url_data.get_content()
          infected, errors = scan(data, self.clamav_conf)
          if infected or errors:
              for msg in infected:
                  url_data.add_warning(u"Virus scan infection: %s" % msg)
              for msg in errors:
                  url_data.add_warning(u"Virus scan error: %s" % msg)
          else:
              url_data.add_info("No viruses in data found.")
docs: Try to ask GeoIP database for country info.