追記 最新版はgithubで作ってます。 mattn's nicodown at master — GitHub http://github.com/mattn/nicodown/tree/master 適当だけど書いてみた。 タイトル取って来る所はlibxml使うの面倒臭かったのでXMLパーサ使わずベタで(実態参照文字あると変になるので気を付けて)。Windowsの場合だけWin32 APIでシフトJISにファイル名を変換しています。 荒いコードなので色々直し所がありますが、サンプルって事で。 //#define CURL_STATICLIB #include <curl/curl.h> #define HEX_DIGITS "0123456789ABCDEF" #define IS_QUOTED(x) (*x == '%' && strchr(HEX_DIGITS, *(x+1)) &
![Big Sky :: ニコニコ動画をダウンロード出来るプログラムをC言語で作ってみた。](https://cdn-ak-scissors.b.st-hatena.com/image/square/ae5f360d3c82cd87e23b34fb6f5013ab7cf0f1a6/height=288;version=1;width=512/https%3A%2F%2Fmattn.kaoriya.net%2Fimages%2Flogo.png)