TousstNicolas / JLC2KiCad_lib

JLC2KICAD_lib is a python script that generate a component library (schematic, footprint and 3D model ) for KiCad from the JLCPCB/easyEDA library.
MIT License
237 stars 41 forks source link

Downloading from easyEDA unreliable #19

Closed jevonlongdell closed 2 years ago

jevonlongdell commented 2 years ago

Sometimes JLC2KiCad_lib works great for me sometimes, however often it hangs after displaying a line like: 2022-10-09 09:57:00,231 - INFO - creating library for component C2325

It looks like it is this line of code that is responsible:

https://github.com/TousstNicolas/JLC2KiCad_lib/blob/730473a6b0b2fa6d19cbaa105857d608ba1b85b6/JLC2KiCadLib/JLC2KiCadLib.py#L14

It tries to download a url like "https://easyeda.com/api/products/C23255/svgs"

Does JLCPCB not like this script, are they trying to block it?

jevonlongdell commented 2 years ago

ARRRGH!, actually it was my work VPN causing problems!