Part-DB-server icon indicating copy to clipboard operation
Part-DB-server copied to clipboard

data provider parsing error

Open jpnielsen opened this issue 1 year ago • 1 comments

Describe the bug Adding a part from Digikey, I get some unexpected results.

A part like "LF353DR" for example, has 3 part numbers - and the Provider category is correct for the first, but the others get it wrong and repeat "Amplifiers -> Instrumentation, Op Amps, Buffer Amps", as seen in the screenshot.

image

Category, Provider: Integrated Circuits (ICs) -> Linear -> Amplifiers -> Instrumentation, Op Amps, Buffer Amps

and the next line:

Category, Provider: Integrated Circuits (ICs) -> Linear -> Amplifiers -> Instrumentation, Op Amps, Buffer Amps -> Amplifiers -> Instrumentation, Op Amps, Buffer Amps

and the last:

Category, Provider: Integrated Circuits (ICs) -> Linear -> Amplifiers -> Instrumentation, Op Amps, Buffer Amps -> Amplifiers -> Instrumentation, Op Amps, Buffer Amps -> Amplifiers -> Instrumentation, Op Amps, Buffer Amps

I would expect the Provider Category to be the same for all 3 part numbers.

(the last three discontinued listings are not relevant )

Part-DB Version: 1.14.5 on Raspberry Pi 4 (debian bookworm, aarch64) Chrome browser on Windows 11.

jpnielsen avatar Dec 07 '24 03:12 jpnielsen

This is how the digikey API returns the data. There is not much which we can do about it.

Maybe this will become better, if we upgrade the digikey provider to the v4 Digikey API.

jbtronics avatar Jan 05 '25 21:01 jbtronics