diff --git a/robot.js b/robot.js index f851980..b71b4b9 100644 --- a/robot.js +++ b/robot.js @@ -400,8 +400,8 @@ async function runHomeserve(ownerId, user, pass, gremiosDB) { const firstTd = tr.querySelector('td'); if (!firstTd) return; - const textMatch = firstTd.innerText.trim().match(/^15\d{6}$/); - const aMatch = firstTd.querySelector('a') ? firstTd.querySelector('a').innerText.trim().match(/^15\d{6}$/) : null; + const textMatch = firstTd.innerText.trim().match(/^1\d{7}$/); + const aMatch = firstTd.querySelector('a') ? firstTd.querySelector('a').innerText.trim().match(/^1\d{7}$/) : null; const ref = textMatch ? textMatch[0] : (aMatch ? aMatch[0] : null); if (ref) {