Change hrefs to ids on debits for cURL