Looks like howlongtobeat changed the api yet again, despite them changing it like 2 days ago...
First of all, they returned to the api_key solution, however this time it consists of two concats instead of one.
/api/search/".concat("7b0f03b2").concat("54cc3099")
Here's the quick code I whipped to make the send_website_request_getcode retriever work again:
if script_resp.status_code == 200 and script_resp.text is not None:
pattern = r'\/api\/search\/"(?:\.concat\("[^"]*"\))*'
matches = re.findall(pattern, script_resp.text)
matches = str(matches).split('.concat')
matches = [re.sub(r'["\(\)\[\]\']', '', match) for match in matches[1:]]
key = ''.join(matches)
return key
Also the headers and payload changed ever so slightly. Those worked for me:
I guess the freshly added solution should still be kept, in case they change the api yet again. Possibly first try the api key, then the custom userId in case the key doesn't work?
Looks like howlongtobeat changed the api yet again, despite them changing it like 2 days ago...
First of all, they returned to the api_key solution, however this time it consists of two concats instead of one.
/api/search/".concat("7b0f03b2").concat("54cc3099")
Here's the quick code I whipped to make thesend_website_request_getcode
retriever work again:Also the headers and payload changed ever so slightly. Those worked for me:
I guess the freshly added solution should still be kept, in case they change the api yet again. Possibly first try the api key, then the custom userId in case the key doesn't work?