title: How to get JavaScript variables from a script tag using Python and Beautifulsoup
body: <p>I want to return the "id" value from the variable meta using beautifulsoup and python. This possible? Additionally, I don't know how to find the certain 'script' tag that contains the meta variable because it does not have a unique identifier, as well as many other 'script' tags on the site. I'm also using selenium as well, so I can understand any answers with that.</p>
  
  <pre><code>&lt;script&gt;
      var meta = "variants":[{"id":12443604615241,"price":14000}, 
      {"id":12443604648009,"price":14000}]
  &lt;/script&gt;
  </code></pre>