title: How to use BeautifulSoup 4 to search for a specific word
body: <p>i recently installed beautifulsoup4 and lxml because i thought they would work to the project i am working on. I have been working on this for 2 days now and still got no solution for my main function.</p>
  
  <p>what i am trying to do is simple:
  1. check if player is in the list
  2. if player is in list return "Found" if not return "Not found"</p>
  
  <p>But i am unable to make this work.</p>
  
  <p>edit: changed the function a little</p>
  
  <pre><code>def FindPlayer(input):
      ## I am trying to look for player in Server Status
      Page = urlopen("http://www.rockmc.com/").read()
      raw = bs4.BeautifulSoup(Page, "lxml")
      HTML = raw.get_text()
      test = raw.find_all(input)
      print(test) ## Debugging
  Findplayer("PlayerGuy")
  </code></pre>