I want to fetch some information from Amazon, but the URL seems very complex. Is there anybody know what's the meaning of amazon's URL?
for example: the Ceiling Fans & Accessories page's url is:
http://www.amazon.com/s/ref=lp_2619525011_nr_n_6?rh=n%3A2619525011%2Cn%3A%212619526011%2Cn%3A495362&bbn=2619526011&ie=UTF8&qid=1387193124&rnid=2619526011
ref=lp_2619525011_nr_n_6
rh=n%3A2619525011%2Cn%3A%212619526011%2Cn%3A495362
bbn=2619526011
ie=UTF8
qid=1387193124
rnid=2619526011
ie=UTF8 appears on man Amazon pages is the desired character encoding
qid=1387193124 is a unix timestamp that the URL was generated, in this case October 3rd, 2015 at 12:40:07 GMT
ref= also appears on many pages throughout the site and has something to do with the referring page. Almost like a more explicit way of passing the HTTP Referer.
bbn= and rnid= have something to do with the Amazon's very confusing "Browse Nodes". Unfortunately the 2619526011 in this example does not match up with the Browse Tree Guide available on https://www.amazon.com/gp/help/customer/display.html?nodeId=200186090 which shows Ceiling Fans with a Browse Node ID of 495224
rh= is unclear to me, but probably some session state to pass between pages.
https://www.amazon.com/s?rh=
k:-assdhjkadhjkhscue,
n:3375251,
p_n_condition-type:6503254011,
p_72:2661618011,
p_85:2470955011
&page=6
&bbn=2619526011
&ie=UTF8
&qid=1387193124
&rnid=2619526011
rh denotes the factors of query.
k = keyword,
n = category (Sports & Outdoors in this case)
p_n_condition-type = new/used
p_72 = 4 or more stars
p_85 = prime eligible
page = pagination offset(page nos).
qid = the timestamp when the query result was generated.
bbn = browse node numbers.Amazon uses a hierarchy of nodes with a number to the hierarchy to represent collections of items. Each number given is a browse node number.
rnid = random id for browsing the node.
ie=utf8 = UTF-8 page encoding format.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With