title: scrape data from interactive map
body: <p>I'm trying to get the data from each pop-up on the map. I've used beautifulsoup in the past but this is a first getting data from an interactive map.</p>
  
  <p>Any push in the right direction is helpful. So far i'm returning blanks.
  Here's what i have, it isn't substantial...</p>
  
  <pre><code>from bs4 import BeautifulSoup as bs4
  import requests
  
  url = 'https://www.oaklandconduit.com/development_map'
  r = requests.get(url).text
  soup = bs4(r, "html.parser")
  address = soup.find_all("div", {"class": "leaflet-pane leaflet-marker-pane"})
  </code></pre>
  
  <p><strong>Updated</strong>
  On recommendations, I went with parsing the javascript content with <code>re</code> using the script below. But loading into json returns an error</p>
  
  <pre><code>import requests, re
  url = 'https://ebrrd.nationbuilder.com/themes/3/58597f55b92871671e000000/0/attachments/14822603711537993218/default/mapscript.js'
  r = requests.get(url).content
  content = re.findall(r'var.*?=\s*(.*?);', r, re.DOTALL | re.MULTILINE)[2]
  json_content = json.loads(content)
  </code></pre>