code: def search_online(word, printer=True):
      '''search the word or phrase on http://dict.youdao.com.'''
  
      url = 'http://dict.youdao.com/w/ %s' % word
  
      expl = get_text(url)
  
      if printer:
          colorful_print(expl)
      return expf search_online(word, printer=True):
      '''search the word or phrase on http://dict.youdao.com.'''
  
      url = 'http://dict.youdao.com/w/ %s' % word
  
      expl = get_text(url)
  
      if printer:
          colorful_print(expl)
      return expl
docs: search the word or phrase on http://dict.youdao.com.