binux/ThunderLixianExporter — pull request #1 by robbielj (2012-07-22 13:40:46+00:00)
Title: Enable script to export batch file for importing task into IDM

I don't know whether you are interested or not.
Just imitate your code. Web lixian truncates file name so it may be a good idea to add task via command line.
IDM export file (ef2) doesn't support custom file name.

Batch file has very poor UTF-8 support. The approach i use here is not quite elegant.
Maybe you can provide a better workaround.