title: Parsing HTML from commented out section Python
body: <p>I am attempting to scrape the data from the games_played_team table on this page <a href="http://www.pro-football-reference.com/teams/nwe/2016_roster.htm" rel="nofollow noreferrer">http://www.pro-football-reference.com/teams/nwe/2016_roster.htm</a> using Requests and BeautifulSoup</p>
  
  <pre><code>url = "http://www.pro-football-
  reference.com/teams/nwe/2016_roster.htm"
  r = requests.get(url)
  
  soup = BeautifulSoup(r.content)
  print soup.prettify()
  </code></pre>
  
  <p>returns</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html data-version="klecko-" data-root="/home/pfr/build" 
  itemscope="itemscope" itemtype="http://schema.org/WebSite" lang="en" class="no-js"&gt;
  &lt;head&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0" /&gt;
    &lt;link rel="dns-prefetch" href="https://d2p3bygnnzw9w3.cloudfront.net/req/201706021" /&gt;
    &lt;link href="https://d2p3bygnnzw9w3.cloudfront.net" rel="preconnect" crossorigin="crossorigin" /&gt;
    &lt;link href="http://d9kjk42l7bfqz.cloudfront.net/req/201607120" rel="preconnect" crossorigin="crossorigin" /&gt;
    &lt;link href="https://www.google-analytics.com/" rel="preconnect" crossorigin="crossorigin" /&gt;
    &lt;link href="https://www.googletagservices.com" rel="preconnect" crossorigin="crossorigin" /&gt;
    &lt;script class="allowed"&gt;
     var sr_is_production = true;
  function vjs_ready(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}var log_performance=!1,sr_detect_operaMini=navigator.userAgent.indexOf("Opera Mini")&amp;gt
  ;-1;if(sr_detect_operaMini){var el=document.querySelector("html");el.className=el.className.concat(" operamini")}var sr_detect_firefox=navigator.userAgent.indexOf("Firefox")&amp;gt;-1;if(sr_detect
  _firefox){var el=document.querySelector("html");el.className=el.className.concat(" firefox")}var sr_detect_firefoxMobile=navigator.userAgent.indexOf("Firefox")&amp;gt;-1&amp;amp;&amp;amp;(navigator.userAg
  ent.indexOf("Mobile")&amp;gt;-1||navigator.userAgent.indexOf("Tablet")&amp;gt;-1);if(sr_detect_firefoxMobile){var el=document.querySelector("html");el.className=el.className.concat(" firefox-mobile")}
  var sr_detect_ie=function(){var e=window.navigator.userAgent;if(e.indexOf("Trident/7.0")&amp;gt;0)return 11;if(e.indexOf("Trident/6.0")&amp;gt;0)return 10;if(e.indexOf("Trident/5.0")&amp;gt;0)return 9;for
  (var t=3,n=document.createElement("div"),r=n.getElementsByTagName("i");n.innerHTML="&amp;lt;!--[if gt IE "+ ++t+"]&amp;gt;&amp;lt;i&amp;gt;&amp;lt;/i&amp;gt;
  &amp;lt;link rel="shortcut icon" href="https://d2p3bygnnzw9w3.cloudfront.net/req/201706021/favicons/pfr/favicon.ico"&amp;gt;
    &lt;/script&gt;
   &lt;/head&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I look at the actual page source, it looks like the table I want is in a commented out block of HTML. I'm not entirely sure how to proceed and would appreciate any help</p>