title: Checking if certain words are on a web page using Python?
body: <p>I have a list of words, in Python I need to loop through each word and check if the word is on a website.</p>
  
  <p>Currently, this is a snippet of what I have (relating to this problem):</p>
  
  <pre><code>words = ['word', 'word1', 'word2']
  site = urllib.request.urlopen(link)
  for word in words:
      if word in site:
         print(word)
      else:
         print(word, "not found")
  </code></pre>
  
  <p>I have a list of words, I open the site, and I loop through each word checking for the word in the site. Note that I am using a website with all those words found on it (I set it up myself and I can verify it works) and the link is the url of the website. </p>
  
  <p>The problem is, I always go to "<em>word</em> not found", and it never seems to find the words on the website.</p>
  
  <p>What's wrong with the code? It seems to be a semantics error, because the syntax works fine, and there are no exceptions thrown (although in my final I do have exception handling, but it will still report if exceptions are thrown anyways).</p>