Who's good at Perl or Python

Ahh the old "I have been doing this for 15 years but can't remember how to do this super easy thing"

Coupled with the good old 'write this for me quickly' makes me think my initial R10k may be a bit low :/

'Quickly' usually involves a lot of scoere creep and extra functionality expectations..
 
Hell for R5k I'll learn Perl or Pyhton quickly and do it.
 
paste the html that contains the data you are looking for and maybe one of us can help with the regex.
 
paste the html that contains the data you are looking for and maybe one of us can help with the regex.

That's the great thing about using Selenium for this step - it uses XPath, which is better suited to HTML than a regex, and it will generate the Python code to do so if you use the IDE.

http://www.seleniumhq.org/
 
Ahh the old "I have been doing this for 15 years but can't remember how to do this super easy thing"
Out of coding for 15 years; not how long he coded,
... might have been for 2 minutes, failed and gave up, or early onset illusory dementia, bull**** or all three.
 
Looking for a script that can pull the usage page/values of the MWEB user page and extract the Standard and Nightime usage numbers.
Will be execute at 6am so that this night time value can be deducted from the total for the day, thus giving me the normal usage for the day.

G

Can't help you cause I'm not with mweb, look at

sending a POST requests with a module called requests to login, don't forget cookies and ****.
Then use regex or something to pull the elements you want out of the page.

Did something similar for vox cause I hate logging in.
yfhpq.jpg
 
None of us have Mweb accounts. Please send us your username and passwords so we can test our all singing, all dancing scripts.

Mine will also get you a discount of like 50% off your Mweb bills.
 
Top
Sign up to the MyBroadband newsletter
X