Not everyone will care, but I will put it in here for posterity sake and
probably for my own reference when I forget in the future.
I was having trouble getting the new google books dynamic link api to
work right with python
(http://code.google.com/apis/books/docs/dynamic-links.html). I was using
Scratch that, the code is simpler. Serves me right for not checking
things twice:
import urllib,urllib2
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor())
request =
urllib2.Request('http://books.google.com/books?bibkeys=0618379436jscmd=
viewapicallback=mycallback')
opener.addheaders =
I've been making my headers very much like a proxy would, even sending
X-forwarded-for headers with the original client ip and such. Sending
very close to the same thing that would be sent if the user really was
using a web proxy. Seems to be keeping google happy... so far.
Jonathan
Michael