def process_urls(bot, trigger, urls):
 results = []
 for url in urls:
  if (not url.startswith(bot.config.url.exclusion_char)):
   try:
    url = web.iri_to_uri(url)
   except:
    pass
   matched = check_callbacks(bot, trigger, url, False)
   if matched:
    continue
   title = find_title(url, verify=bot.config.core.verify_ssl)
   if title:
    results.append((title, get_hostname(url)))
 return results

def process_urls ( bot , trigger , urls ) : results = [ ] for url in urls : if ( not url . startswith ( bot . config . url . exclusion_char ) ) : try : url = web . iri_to_uri ( url ) except : pass matched = check_callbacks ( bot , trigger , url , False ) if matched : continue title = find_title ( url , verify = bot . config . core . verify_ssl ) if title : results . append ( ( title , get_hostname ( url ) ) ) return results
for each url in the list .