HeartofPhos / exile-leveling

Path of Exile Leveling Guide

Home Page:https://HeartofPhos.github.io/exile-leveling/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pobb.in raw API

Dav1dde opened this issue · comments

Can you switch the following API endpoint to use the /raw suffix?

const match = /pobb\.in\/(.+)$/.exec(url);
if (!match) return null;
return `pobb.in/pob/${match[1]}`;

And if it's not too much trouble add/override the User-Agent for your CORS proxy?

`https://phos-cors-proxy.azurewebsites.net/${downloadUrl}`

While the PoB API works, these requests do mess with my monitoring and the it is only supposed to be used by PoB.

Thanks!

Updated the URL and added User-Agent to the request, let me know if there's anything else you'd like adjusted

@HeartofPhos awesome thanks!