SchrodingersGat / KiBoM

Configurable BoM generation tool for KiCad EDA (http://kicad.org/)
MIT License
350 stars 95 forks source link

Generated Digi-Key links do not link to component web pages #174

Closed apcountryman closed 1 year ago

apcountryman commented 1 year ago

KiCad version: Eeschema 6.0.8-f2edbf62ab~116~ubuntu20.04.1

KiBoM version: current master (dbe69be)

Generated Digi-Key links do not link to component web pages (e.g. http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=ATSAMD11D14A-SSUTCT-ND is generated for ATSAMD11D14A-SSUTCT-ND). Generated Mouser links do link to component web pages (e.g. https://www.mouser.com/ProductDetail/556-ATSAMD11D14ASSUT is generated for 556-ATSAMD11D14ASSUT).

The HTML BOM generated by this GitHub Actions run from https://github.com/apcountryman/pcb-main-nautilus-atmega4809/tree/64170d1c9fc5b1d6a1bf63d4ed51e782a9415905 (KiBoM configuration file) can be found in the attached ZIP file (bom-traditional.zip).

apcountryman commented 1 year ago

https://forum.contextualelectronics.com/t/digikey-search-link-changed/5181 suggests that the search URL changed sometime around April 2022, and provides an updated search URL.

https://www.digikey.com/short/8c2wtm0z provides an alternative method for generating links.

apcountryman commented 1 year ago

Using the method from the Digi-Key document while omitting the Vendor Identification Number (I suspect this is a Digi-Key marketplace vendor ID) component of the link worked. I'll put together a PR with the fix.