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,216
Karma: 27110894
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:	188
Size:	568.8 KB
ID:	82531   Click image for larger version

Name:	amazon2.png
Views:	192
Size:	702.5 KB
ID:	82532  
kovidgoyal is offline   Reply With Quote