![]() |
2010-08-23
, 12:15
|
Posts: 19 |
Thanked: 17 times |
Joined on Mar 2010
|
#21
|
The Following 2 Users Say Thank You to marble For This Useful Post: | ||
![]() |
2010-08-24
, 11:41
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#22
|
Current status: I'm having a bit of trouble persuading Sony's servers to give me the info to parse. I'm working on it still, but it's quite slow progress. I've made a temporary page to put some code up, so if anyone has some time to play around with it, they can: http://www.pebble.org.uk/projects/trophyapp - but if you're not a python hacker, this is likely to just show you 'Network error 203', so don't get too excited
python trophies.py marblepebble
The Following 2 Users Say Thank You to thp For This Useful Post: | ||
![]() |
2010-08-24
, 12:15
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#23
|
![]() |
2010-08-24
, 12:25
|
|
Posts: 220 |
Thanked: 49 times |
Joined on Aug 2010
@ england
|
#24
|
![]() |
2010-08-24
, 12:58
|
Posts: 19 |
Thanked: 17 times |
Joined on Mar 2010
|
#25
|
What this approach can't do is list separate trophies, as this is only allowed when the user is logged in. I'm using a tricky request at the beginning to get hold of a JSESSIONID cookie, which seems to be the key to let the server give me the data (otherwise it won't work) - maybe this is something that you need to do as well to get your code working?
![]() |
2010-08-24
, 13:24
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#26
|
Yeah. I got a JSESSIONID cookie (from the login form), and a bunch of others too. It's just that when I compare a capture of my code's requests with HttpFox's capture of me doing the same thing in firefox, the other cookies are all different. I think somewhere in all their huge amounts of javascript they must be manipulating them somehow. Either that, or the cookies change on images, which I was filtering out...
![]() |
2010-08-25
, 08:17
|
Posts: 19 |
Thanked: 17 times |
Joined on Mar 2010
|
#27
|
![]() |
2010-08-26
, 11:19
|
|
Posts: 220 |
Thanked: 49 times |
Joined on Aug 2010
@ england
|
#28
|
The Following User Says Thank You to mr_xzibit For This Useful Post: | ||
![]() |
2010-08-26
, 14:20
|
Posts: 19 |
Thanked: 17 times |
Joined on Mar 2010
|
#29
|
The Following User Says Thank You to marble For This Useful Post: | ||
![]() |
2010-08-26
, 14:26
|
|
Posts: 220 |
Thanked: 49 times |
Joined on Aug 2010
@ england
|
#30
|