def json_download(self, url):
    session = requests.session()
    headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36'}
    json_data = session.get((url + '.json'), headers=headers).text
    self.list = json.loads(json_data)
def json_download(self, url):
    session = requests.session()
    headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36'}
    json_data = session.get((url + '.json'), headers=headers).text
    self.list = json.loads(json_data)