title: Is there a way I can extract a list from a javascript document?
body: <p>There is a website where I need to obtain the owners of this item from an online-game item and from research, I need to do some 'web scraping' to get this data. But, the information is in a Javascript document/code, <strong>not an easily parseable HTML document</strong> like bs4 shows I can easily extract information from. So, <strong>I need to get a variable in this javascript document</strong> (contains a list of owners of the item I'm looking at) and <strong>make it into a usable list/json/string I can implement in my program</strong>. Is there a way I can do this? if so, how can I?</p>
  <p>I've attached an image of the variable I need when viewing the page source of the site I'm on.</p>
  <p>My current code:</p>
  <pre class="lang-py prettyprint-override"><code>from bs4 import BeautifulSoup
  html = requests.get('https://www.rolimons.com/item/1029025').content #the item webpage
  soup = BeautifulSoup(html, &quot;lxml&quot;)
  datas = soup.find_all(&quot;script&quot;)
  print(data) #prints the sections of the website content that have ja
  </code></pre>
  <p><a href="https://i.stack.imgur.com/uLUpt.png" rel="nofollow noreferrer">IMAGE LINK</a></p>