title: Python: BeautifulSoup cannot parse html page
body: <p>I am trying to parse <a href="http://mnregaweb4.nic.in/netnrega/FTO/FTOReport.aspx?page=s&amp;mode=B&amp;flg=W&amp;state_name=BIHAR&amp;state_code=05&amp;fin_year=2018-2019&amp;dstyp=B&amp;source=national&amp;Digest=2H3ATbXXBsabT72RmlXODw" rel="nofollow noreferrer">this URL</a>.</p>
  
  <p>I am using requests and BeautifulSoup.</p>
  
  <p>Python requests successfully gets the page.</p>
  
  <p>I have tried printing page content to see whether it has any or not. It has contents but doesn't know why BeautifulSoup can't parse it. It's stuck there program does not move forward.</p>
  
  <p>I tried with <code>lxml</code> as parser too but didn't work.</p>
  
  <p>Code:</p>
  
  <pre class="lang-py prettyprint-override"><code>import requests
  from bs4 import BeautifulSoup
  
  
  url = "http://mnregaweb4.nic.in/netnrega/FTO/ResponseDetailStatusReport.aspx?lflag=&amp;flg=W&amp;page=s&amp;state_name=BIHAR&amp;state_code=05&amp;district_name=ARARIA&amp;district_code=0541&amp;fin_year=2018-2019&amp;typ=R&amp;mode=B&amp;source=national&amp;Digest=RZw1g4RnMeHsOzbabiNGBg"
  
  reference_page = requests.get(url)
  
  print(" Total time to get page in seconds : "+str(reference_page.elapsed.total_seconds()))
  
  print('\t Reference Page status : '+ str(reference_page))
  print(reference_page.content)
  
  reference_page_soup = BeautifulSoup(reference_page.content,'html.parser')
  print("\n \t Page parsed")
  </code></pre>