def get_ladder_metadata(session, url):
parsed = make_scrape_request(session, url)<EOL>tag = parsed.find('<STR_LIT:a>', href=re.compile(LADDER_ID_REGEX))<EOL>return {<EOL>'<STR_LIT:id>': int(tag['<STR_LIT>'].split('<STR_LIT:/>')[-<NUM_LIT:1>]),<EOL>'<STR_LIT>': url.split('<STR_LIT:/>')[-<NUM_LIT:1>],<EOL>'<STR_LIT:url>': url<EOL>}<EOL>
Get ladder metadata.