2013-02-09, 17:48
Hi Friends,
Newbie here and trying to write my first script in python, learnt a lot of new things over last few days.
My script logs into a site with a user id/pwd and then derives streaming information. I am required to also pass a dynamic hidden password from the page source when posting the form to login.
I have following string in my login page source which carries the hidden password -
("#login_password_").val('qM2YmqibpqVjpmefqdWUn36/i5yo5KOUneZoag==');
Inorder to post the form to the server, I need to pass hidden password value which is the value in BLUE above.
Could somebody help me with how do I filter out the hidden password value (ie 'qM2YmqibpqVjpmefqdWUn36/i5yo5KOUneZoag==' in above sample) from the source string using re: function.
Spent lot of time reading http://docs.python.org/2/library/re.html but not able to figure out on my own. L
Thanks in advance.
Newbie here and trying to write my first script in python, learnt a lot of new things over last few days.
My script logs into a site with a user id/pwd and then derives streaming information. I am required to also pass a dynamic hidden password from the page source when posting the form to login.
I have following string in my login page source which carries the hidden password -
("#login_password_").val('qM2YmqibpqVjpmefqdWUn36/i5yo5KOUneZoag==');
Inorder to post the form to the server, I need to pass hidden password value which is the value in BLUE above.
Could somebody help me with how do I filter out the hidden password value (ie 'qM2YmqibpqVjpmefqdWUn36/i5yo5KOUneZoag==' in above sample) from the source string using re: function.
Spent lot of time reading http://docs.python.org/2/library/re.html but not able to figure out on my own. L
Thanks in advance.