a rewrite of my dlmanager.pl in C using libcurl. For fun and learning.