yaqwsx / jlcparts

Better parametric search for components available for JLC PCB assembly
https://yaqwsx.github.io/jlcparts/
MIT License
554 stars 51 forks source link

Parts with no datasheet still show a link #105

Closed brianbienvenu closed 8 months ago

brianbienvenu commented 9 months ago

Some parts listed on LCSC/JLCPCB don't have any datasheet attached. For example: https://jlcpcb.com/parts/componentSearch?searchTxt=C18723613

On the JLCPCB website this gives an empty href attribute on the <a> tag. When you middle click this, my browser opens another copy of the same webpage, which isn't useful. At present, JLCParts does the same thing - middle click on the "empty" link opens another copy of the same webpage.

Can we filter for empty href attributes and hide the PDF datasheet link for those items?