title: I am trying to get table data from a website using python urllib and beautiful soup but it returns script
body: <p>I tried BeautifulSoup but it scrapes the script from URL.</p>
  <pre><code>url = 'https://ekartlogistics.com/shipmenttrack/FMPP0944216480' 
  from bs4 import BeautifulSoup
  from urllib import request, parse
  read = request.urlopen(url)
  soup = BeautifulSoup(read, 'html.parser')
  print(soup.prettify())
  </code></pre>
  <p>It returns the script along with other HTML scripts.</p>
  <p><a href="https://i.stack.imgur.com/EJ7qZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EJ7qZ.png" alt="enter image description here" /></a></p>
  <p>I am trying to get this table data from this URL</p>
  <p><a href="https://i.stack.imgur.com/W8I9x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W8I9x.png" alt="enter image description here" /></a></p>