View Single Post
Old 09-27-2010, 01:45 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,403
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There's no way to follow a javascript link direrctly. Instead what you have to do is grab the request the javascript sends using Tamper Data in Firefox and duplicate that in calibre using mechanize.Request

Alternatively, uses regexps to parse the javascript and figure out the request url from that.
kovidgoyal is offline   Reply With Quote