def get(self, url):
    count = 0
    while (count < self.retry_max):
        time.sleep((self.wait * count))
        try:
            self.wait_till()
            response = requests.get(url)
            self.last_scrape = time.time()
            if (response.status_code == requests.codes.ok):
                return response
            else:
                raise Exception(('Non-standard issue connecting to ' + f'{url}: {response.status_code}.'))
        except requests.exceptions.RequestException as e:
            pass
        count += 1
def get(self, url):
    count = 0
    while (count < self.retry_max):
        time.sleep((self.wait * count))
        try:
            self.wait_till()
            response = requests.get(url)
            self.last_scrape = time.time()
            if (response.status_code == requests.codes.ok):
                return response
            else:
                raise Exception(('Non-standard issue connecting to ' + f'{url}: {response.status_code}.'))
        except requests.exceptions.RequestException as e:
            pass
        count += 1