title: Beautifulsoup gets a different content than actual text
body: <p>As the title says; the content that i'm getting is different than the actual content on the page. I'm trying to get a "href" info and a text inside of "p" tag(class=center-block) from a certain group of tags. When try to get "href" attribute from a link(second link below), it returns "/Login" text instead of what's inside of href attribute. And similarly when i try get the inner text of a "p" tag, it returns "Company Name" text. So it completely returns different values than actual contents. I could reach most of others but couldn't get the actual contents of these two elements specifically, even though i could see the actual contents when i inspect the elements in browsers.</p>
  
  <p>Python code: </p>
  
  <pre class="lang-py prettyprint-override"><code>
  r = requests.get('https://www.examplesite.com/winners', headers=headers)
  soup = BeautifulSoup(r.content, 'lxml')
  
  list_of_winners = [item for item in soup.find_all('div', class_='bottom')]
  list_of_winners.remove(list_of_winners[0]) # 0 indexed element is none, remove it from the list.
  
      index_counter = 0    # index counter for dictionaries
      for i in list_of_winners:
  
          ## Get the link 
          self.contest_link[index_counter] = i.find('a')['href']
  
          ## Get the title
          self.contest_title[index_counter] = i.find('p', class_='center-block').text.strip()
  
          index_counter += 1
      index_counter = 0   # Reset the index counter
  
  </code></pre>
  
  <p>The html code: </p>
  
  <pre><code>&lt;div class="bottom"&gt;
    &lt;div class="likes_count"&gt;
      &lt;a href="javascript:void()" style="color: #333;" class="contest-like-unlike" data-type="like" data-contest-id="24454"&gt;
          &lt;i class="fa fa-heart-o"&gt;&lt;/i&gt;
      &lt;/a&gt;
      &lt;span class="popover_win"&gt;9 Likes&lt;/span&gt;
    &lt;/div&gt;
    &lt;a style="float: right" href="https://www.example.com/retail-business/retail-business-24604"&gt;
     &lt;p class="center-block"&gt;Retail Business&lt;/p&gt;
    &lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>