View Single Post
Old 02-13-2012, 02:48 AM   #24
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,434
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Amazon appears to be suffering from major schizophrenia. They're returning different versions of the same page, I'd guess based on user agent sniffing. See attached screenshots. One page uses javascript and the other doesn't. The same thing is happening with the results page, and explains why the downloads sometimes work and sometimes dont work (calibre uses a randomized user agent). Sigh, user agent sniffing, in 2012! Now to figure out what user agents prompt amazon to use javascript and get the plugin to not use them.
Attached Thumbnails
Click image for larger version

Name:	amazon1.png
Views:	199
Size:	568.8 KB
ID:	82531   Click image for larger version

Name:	amazon2.png
Views:	201
Size:	702.5 KB
ID:	82532  
kovidgoyal is online now   Reply With Quote