We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diff --git a/providers/ab-service-infoshkola/main.js b/providers/ab-service-infoshkola/main.js index 791b374fd..c0c1499d0 100644 --- a/providers/ab-service-infoshkola/main.js +++ b/providers/ab-service-infoshkola/main.js @@ -49,11 +49,11 @@ function main(){ var result = {success: true}; - getParam(html, result, 'balance', /Остаток на счете:([\s\S]*?)руб/i, replaceTagsAndSpaces, parseBalance); + getParam(html, result, 'balance', /Итого:.*?<td>([\d\.]*)<\/td>/i, replaceTagsAndSpaces, parseBalance); getParam(html, result, 'acc_type', /Тип счета:(?:[\s\S]*?<[^>]*>)([\s\S]*?)<\//i, replaceTagsAndSpaces); getParam(html, result, 'dogovor', /Договор:([\s\S]*?)(?:<a|<\/p>)/i, replaceTagsAndSpaces); getParam(html, result, 'fio', /Абонент:(?:[\s\S]*?<[^>]*>)([\s\S]*?)<\//i, replaceTagsAndSpaces); getParam(html, result, '__tariff', />\s*Тариф:([\s\S]*?)<\/span/i, replaceTagsAndSpaces); AnyBalance.setResult(result); -} \ No newline at end of file +}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: