I am trying to write a script that when ran will show me if a friend is on xbox live. So far I have something along the lines of:
except that microsoft doesnt like me using wget to get the webpage file. It gives me problems such as
Quote:
--18:34:26-- http://live.xbox.com/en-US/profile/profile.aspx?pp=0
=> `profile.aspx?pp=0'
Resolving live.xbox.com... 65.59.234.169
Connecting to live.xbox.com|65.59.234.169|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://login.live.com/login.srf?wa=...pZ3D0&id=66262 [following]
--18:34:26-- https://login.live.com/login.srf?wa=...pZ3D0&id=66262
=> `login.srf?wa=wsignin1.0&rpsnv=10&ct=1173662598&rver=4.0.1532.0&wp=HBI&wreply=https:%2F%2Flive.xbox. com%2Fxweb%2Flive%2Fpassport%2FsetCookies.ashx?rru=httpZ3AZ2FZ2FliveZ2ExboxZ2EcomZ2FenZ2DUSZ2Fprofil eZ2FprofileZ2EaspxZ3FppZ3D0&lc=1033&cb=BhttpZ3AZ2FZ2FliveZ2ExboxZ2EcomZ2FenZ2DUSZ2FprofileZ2Fprofile Z2EaspxZ3FppZ3D0&id=66262'
Resolving login.live.com... 65.54.183.202
Connecting to login.live.com|65.54.183.202|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11,651 (11K) [text/html]
login.srf?wa=wsignin1.0&rpsnv=10&ct=1173662598&rver=4.0.1532.0&wp=HBI&wreply=https:%2F%2Flive.xbox.c om%2Fxweb%2Flive%2Fpassport%2FsetCookies.ashx?rru=httpZ3AZ2FZ2FliveZ2ExboxZ2EcomZ2FenZ2DUSZ2Fprofile Z2FprofileZ2EaspxZ3FppZ3D0&lc=1033&cb=BhttpZ3AZ2FZ2FliveZ2ExboxZ2EcomZ2FenZ2DUSZ2FprofileZ2FprofileZ 2EaspxZ3FppZ3D0&id=66262: File name too long
Cannot write to `login.srf?wa=wsignin1.0&rpsnv=10&ct=1173662598&rver=4.0.1532.0&wp=HBI&wreply=https:%2F%2Flive.xbox. com%2Fxweb%2Flive%2Fpassport%2FsetCookies.ashx?rru=httpZ3AZ2FZ2FliveZ2ExboxZ2EcomZ2FenZ2DUSZ2Fprofil eZ2FprofileZ2EaspxZ3FppZ3D0&lc=1033&cb=BhttpZ3AZ2FZ2FliveZ2ExboxZ2EcomZ2FenZ2DUSZ2FprofileZ2Fprofile Z2EaspxZ3FppZ3D0&id=66262' (Success).
[2]+ Exit 1 wget http://live.xbox.com/en-US/profile/profile.aspx?pp=0
|
what other solutions are there? I want to be able to just check to see if a certain value is on the website mainly to see if a user is online.
Thanks