Bad url parsing && requirement check.

The script wasn't working for me, and I discovered the scraped links contained an extra " symbol at the end.

After fixing that, it kept silently failing. I discovered I needed to install imagemagick by reading the code, and added the check to the code to avoid future confusion.