How do I find a URL that will return a JSON collection of all of Tesla’s Superchargers, stores, service centers, body shops, destination chargers, and demo drive locations?
What I have tried:
I am attempting to scrape Tesla's website (https://www.tesla.com/findus/list) for Superchargers, stores, service centers, body shops, destination chargers, and demo drive locations.
Used Jupyter notebooks to run the code.
from bs4 import BeautifulSoup
import urllib
html_text = urllib.request.urlopen("https://www.tesla.com/findus/list").read()
soup = BeautifulSoup(html_text, 'html.parser')
Initial code concept:
1. Inspect website HTML code.
2. Convert to JSON
I'm not getting any output and the code is taking 2+ hours to run through.