Little and dirty script in Lua for web scraping in digikey

grab4eda It’s a pure-Lua script. Right now works on GNU/Linux only and the output is for use with Proteus/ISIS.

Example of use

Example of use

How to use:

  • Copy to /usr/bin
  • Give execute permissions
  • Execute grab4eda --create-config
  • Edit “~/.grab4eda/config” with your “strings”
  • Now, execute grab4eda with the product web link (digikey.com)
  • Is done! Enjoy.

Requisites

  • lua5.1
  • curl
  • xclip

Happy hacking!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s