worthbak / inventory-checker-app

A macOS app for checking Apple Store inventory
https://worthbak.github.io/inventory-checker-app/
GNU General Public License v3.0
114 stars 24 forks source link

Click on the available product to open the product in your browser #103

Open misterperfectman opened 1 year ago

misterperfectman commented 1 year ago

Hi worthbak,

First of all, thanks for this application! Last September, I managed to get my hands on the new iPhone because of your application.

I would love to see a feature which will let you click on a product and will redirect you to the page of the specific product in the country you have selected. This would speed up the process of ordering products after getting an alert from InventoryChecker.

I did some research on the link structure and it seems like Apple uses the same structure for its product but not for the specifications of them. For example:

General: https://www.apple.com/de/shop/buy-iphone/iphone-14-pro

DE (Deutschland) in the link above can be changed to any other country's abbreviation while seeing the same product but in the selected country.

Product specifications: https://www.apple.com/it/shop/buy-iphone/iphone-14-pro/display-da-6,1%22-128gb-nero-siderale https://www.apple.com/de/shop/buy-iphone/iphone-14-pro/6,1%22-display-128gb-space-schwarz

As can be seen above, the link structure between of the iPhone 14 Pro 128GB Black is different between these countries.

Is it possible for you to have at least the "general" link structure implemented, so that people will be able to click on the product and get redirected to the general link of that product?

worthbak commented 1 year ago

Great suggestion! I've had the same idea, but never spent the time sorting out how Apple's product-page URLs are structured.