@sportsref.decorators.cache<EOL>def get_html(url):
global last_request_time<EOL>with throttle_process_lock:<EOL><INDENT>with throttle_thread_lock:<EOL><INDENT>wait_left = THROTTLE_DELAY - (time.time() - last_request_time.value)<EOL>if wait_left > <NUM_LIT:0>:<EOL><INDENT>time.sleep(wait_left)<EOL><DEDENT>response = requests.get(url)<EOL>last_request_time.value = time.time()<EOL><DEDENT><DEDENT>if <NUM_LIT> <= response.status_code < <NUM_LIT>:<EOL><INDENT>raise ValueError(<EOL>'<STR_LIT>'<EOL>.format(response.status_code, url)<EOL>)<EOL><DEDENT>html = response.text<EOL>html = html.replace('<STR_LIT>', '<STR_LIT>').replace('<STR_LIT>', '<STR_LIT>')<EOL>return html<EOL>
Gets the HTML for the given URL using a GET request.

    :url: the absolute URL of the desired page.
    :returns: a string of HTML.