Bouni / kicad-jlcpcb-tools

Plugin to generate BOM + CPL files for JLCPCB, assigning LCSC part numbers directly from the plugin, query the JLCPCB parts database, lookup datasheets and much more.
MIT License
1.14k stars 103 forks source link

Failed to download CSV #89

Closed Polsaker closed 2 years ago

Polsaker commented 2 years ago

Hello, I just installed the plugin (from your PCM repo), fired it up and this error pops up:

image

Bouni commented 2 years ago

@Polsaker Thats new, in the past JLC just randomly returned a 404 when users tried to download the CSV, nw they seem to actively block the use by tools like this here. Adding a browser user-agent header seems to solve this for the moment. Lets hope they don't add additional measures to prevent this 😬