Hacker News new | ask | show | jobs
by javadi82 4819 days ago
If it is OK, could you please describe at a high-level on the de-duplication involved in mapping the following 3 links to a single book - a) https://news.ycombinator.com/item?id=836633 b) https://news.ycombinator.com/item?id=1527084 c) https://news.ycombinator.com/item?id=1718951 because the amazon links contained in the HN comment links are all very different but still point to the same book - "Javascript: The Good Parts".
2 comments

I extract ASIN (Amazon ID) from URL and then use Amazon API to get so called "parent ASIN" (to acount for different editions like paperback, ebook etc).
The same ID appears in all the different forms of the Amazon links: 0596517742