16 Sep '05 19:25>
I know I haven't been playing as much recently, so I'm not real sure when this change was implemented. I know I was getting PGNs until moderately recently.
Background: I decided that I'd rather analyze my games using Winboard instead of the analysis window, so I wrote a little Perl script to download the PGNs of my active games. I'd been using that for a year or so when it recently stopped downloading them for me. The script checks my active games as found in
http://www.redhotpawn.com/core/viewpublicgames.php?p1name=prn&p2name=&showgamescode=I
extracts the game IDs and then tries to download the PGNs from, e.g.,
http://www.redhotpawn.com/gameanalysis/pgncutandpaste.php?gameid=1318755
The problem appears to be that recently Russ must have instituted some sort of fubar browser checking that messes things up. Now my attempts to download game data get redirected. I had trouble telling what was happening until I tried to see what wget would do (i.e. another non-browser based tool) The result was:
IOW, it looks like RHP now expects to be able to set cookies in a browser, regardless of whether that makes sense or not and redirects my http queries when it can't set the stupid cookie.
Russ, can I please have my PGNs back?
Thanks,
Paul
Background: I decided that I'd rather analyze my games using Winboard instead of the analysis window, so I wrote a little Perl script to download the PGNs of my active games. I'd been using that for a year or so when it recently stopped downloading them for me. The script checks my active games as found in
http://www.redhotpawn.com/core/viewpublicgames.php?p1name=prn&p2name=&showgamescode=I
extracts the game IDs and then tries to download the PGNs from, e.g.,
http://www.redhotpawn.com/gameanalysis/pgncutandpaste.php?gameid=1318755
The problem appears to be that recently Russ must have instituted some sort of fubar browser checking that messes things up. Now my attempts to download game data get redirected. I had trouble telling what was happening until I tried to see what wget would do (i.e. another non-browser based tool) The result was:
$ wget http://www.redhotpawn.com/gameanalysis/pgncutandpaste.
php?gameid=1318755
--14:14:57-- http://www.redhotpawn.com/gameanalysis/pgncutandpaste.php?gameid=1
318755
=> `pgncutandpaste.php?gameid=1318755'
Resolving www.redhotpawn.com... 207.97.221.50
Connecting to www.redhotpawn.com[207.97.221.50]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: /index.php?cookiewarning=true&gameid=1318755 [following]
--14:14:58-- http://www.redhotpawn.com/index.php?cookiewarning=true&gameid=1318
755
=> `index.php?cookiewarning=true&gameid=1318755'
Connecting to www.redhotpawn.com[207.97.221.50]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
[ <=> ] 17,282 96.18K/s
14:14:59 (96.02 KB/s) - `index.php?cookiewarning=true&gameid=1318755' saved [17,
282]
IOW, it looks like RHP now expects to be able to set cookies in a browser, regardless of whether that makes sense or not and redirects my http queries when it can't set the stupid cookie.
Russ, can I please have my PGNs back?
Thanks,
Paul