login to beinsportsplay canada

Hi,

 

I am trying to create a plugin for Beinsportplay Canada.

 

So far I have been unsuccessful at login in using username and password.

 

I used the following without success

 

def login():
values = {
     "name" : Prefs['name'],
     "pass" : Prefs['pass']
}
x = HTTP.Request("http://www.beinsportsplay.ca/user/login", values,  cacheTime=0).content
 

Thanks

 

 

Not having an account with which to test, I can't be 100% certain but...

My failed attempt to login had several POST values in the header which you aren't including. Specifically:

  • form_build_id
  • form_id
  • op

Try including those (with valid values) and see if that gets you any further. You may (or may not) need to manually handle the cookies as well.

Thanks for the quick reply,

I did include these without success.

This looks more complicated than I anticipated. 

My goal is very simple

1-  login in to the site: http://www.beinsportsplay.ca/user/login

2- select one of the 2 feeds   http://www.beinsportsplay.ca/livenow/bein-sport  or http://www.beinsportsplay.ca/livenow/bein-sport-espanol

if you are interested to help me further you can create yourself a free account  at http://www.beinsportsplay.ca/user/register  and use the promocode beINCanada2014

Many thanks   :-)

Louis

Hi, any update on this channel?

Would be cool also am in Canada also. Please someone do this.