爱意满满的作品展示区。
toinmyfree

发个小福利-中国评书网批量下载工具

  •  
  •   toinmyfree · Dec 6, 2018 · 2890 views
    This topic created in 2888 days ago, the information mentioned may be changed or developed.

    这几天折腾了下 go, 写了个批量下载中国评书网批量下载工具,

    只编译了 windows 64 和 linux 的,xp 和 mac 啥的没有测试,有兴趣的可以玩玩啊,代码写的太垃圾,勿喷额.

    源码路径:github.com/cngolang/zgpingshu

    使用说明 下载专辑 http://shantianfang.zgpingshu.com/575/#play

    	windows:  zgpingshu.exe  http://shantianfang.zgpingshu.com/575/#play   
    	linux:  ./zgpingshu  http://shantianfang.zgpingshu.com/575/#play   
    

    按顺序下载专辑的 10 个文件,已下载会自动忽略

    	windows:  zgpingshu.exe -q 10  http://shantianfang.zgpingshu.com/1040/#play   
    	linux:  ./zgpingshu   -q 10  http://shantianfang.zgpingshu.com/1040/#play  
    

    需重新下载某个节目音频,直接删除对应文件,重新执行命令即可,提示网络异常,直接 ctrl+c,重新执行

    使用了 @WindGreen 兄弟写的多线程下载模块,https://github.com/WindGreen/fileload 感谢额

    1 replies  •  2018-12-06 21:46:34 +08:00
    guonning
    guonning
    Dec 6, 2018 via Android
    1
    合适,有时听听挺有趣
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5368 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 02:54 · PVG 10:54 · LAX 18:54 · JFK 21:54
    ♥ Do have faith in what you're doing.