Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- name: 'Telstra (New)',
- group: 'Custom',
- description: 'Updated version of Telstra script that doesnt use bigpond.com.',
- process: [
- 'GET https://www.my.telstra.com.au/myaccount/home',
- 'POST https://signon.telstra.com.au/login goto=https%3A%2F%2Fwww.my.telstra.com.au%2Fmyaccount%2Foverview&gotoOnFail=https://www.my.telstra.com.au/myaccount/home/error?flag=&encoded=false&gx_charset=UTF-8&username={USERNAME}&password={PASSWORD}',
- 'REFRESHREDIRECT',
- [
- /The username or password you entered is incorrect/, 'ERROR',
- /./,
- ],
- /data-usage-internet\?(accountId=[a-zA-Z0-9]+).*?(serviceId=[a-zA-Z0-9]+)/,
- 'GET https://www.my.telstra.com.au/myaccount/data-usage-internet?{1:1|NOESC}&{1:2|NOESC}',
- [
- /usage-so-far[^]*?number.*?>(.+?)<[^]*?allowance.*?>(\d+)[^]*?billing-dates[^]*?usage-detail-des[^]*?>(\d+)/,
- ],
- ],
- varsDisplay: {
- '0,1': {
- 'NONE': '{2:3|rolldate}',
- 'Usage': '{2:1|GB|usage} / {2:2|GB|usage-quota}',
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement