Advertisement
infeopect

Netusage custom ISP config for Bigpond

Jul 31st, 2017
1,704
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. {
  2. name: 'Bigpond (New)',
  3. group: 'Custom',
  4. description: 'Updated version of Telstra/Bigpond script.',
  5. process: [
  6. 'DELETECOOKIES bigpond.com telstra.com telstra.com.au',
  7.  
  8. 'POST https://signon.bigpond.com/login goto=https%3A%2F%2Fmyaccount.bigpond.com%2FMyServices.do&username={USERNAME}&password={PASSWORD}',
  9.  
  10. [
  11. /The username or password you entered is incorrect./, 'ERROR',
  12. /./,
  13. ],
  14.  
  15. 'GET https://myaccount.bigpond.com/MyServices.do',
  16.  
  17. [
  18. /Some account functions are currently unavailable/, 'ERROR',
  19. /usage_link[^]*?href="(.+?)"/,
  20. ],
  21.  
  22. 'USAGEPAGE',
  23.  
  24. 'GET https://myaccount.bigpond.com/{1:1|NOESC}',
  25.  
  26. /Current Account Usage[^]*?<td>\s*([^]*?)\s*<[^]*?Current Usage Allowance[^]*?<td>\s*([^]*?)\s*<[^]*?Current Bill Period[^]*?<td>[^]*?(\d+)/,
  27.  
  28. ],
  29. varsDisplay: {
  30. '0,1': {
  31. 'Usage': '{2:1|AB|usage} / {2:2|AB|usage-quota} MB',
  32. 'NONE': '{2:3|rolldate}',
  33. }
  34. }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement