title: Python web scraping with Beauifulsoup to extract variables
body: <p>I just started with Beautifulsoup and would like to extract the variables <code>name</code>, <code>brand</code> and <code>price</code> from website <a href="http://www.mediamarkt.nl/nl/category/_laptops-482723.html" rel="nofollow noreferrer">http://www.mediamarkt.nl/nl/category/_laptops-482723.html</a> but do not get things working.</p>
  
  <blockquote>
  <pre><code>&lt;script&gt;
   var product1511322 = {"name":"ACER Aspire 3 A315-31-C3PK","id":"1511322","price":"399.00","brand":"ACER","ean":"4713883258289","dimension25":"InStock","dimension26":1.99,"dimension24":21.00,"category":"Computer","dimension9":"Laptops","dimension10":"Windows-laptops"};
  &lt;/script&gt;
  </code></pre>
  </blockquote>
  
  <p>I tried...</p>
  
  <pre><code>from bs4 import BeautifulSoup
  import requests
  
  url = 'http://www.mediamarkt.nl/nl/category/_laptops-482723.html'
  soup = BeautifulSoup(requests.get(url).text, 'html.parser')
  
  script = soup.find_all('script')
  
  script.find_all('var')
  </code></pre>
  
  <p>...but that doesn't work</p>
  
  <p>Anyone suggestions how to extract all <code>name</code>, <code>brand</code> and <code>price</code> information to a list of dataframe?</p>