yzfedora / baidudl

This is a multi-thread download tool for pan.baidu.com
GNU General Public License v3.0
198 stars 35 forks source link

-l listfile #4

Open MosAutif opened 8 years ago

MosAutif commented 8 years ago

读取文件的参数竟然不是-f。 原来的pan-baidu-download经常不能用,有空试试好了。

zqfsdek commented 7 years ago

getopt(argc, argv, "d:n:o :l:h") 这里还是 l 所以 -f 选项没法用 另外 download_from_file() 里面 if (!fgets(url, sizeof(url - 1), listfp)) 这里应该是 sizeof (url) - 1

yzfedora commented 7 years ago

谢谢你的返回,我刚刚已经提交了commit修复了上面两个问题。

On Wed, May 3, 2017 at 9:17 PM, zqfsdek notifications@github.com wrote:

getopt(argc, argv, "d:n⭕️l:h") 这里还是 l 所以 -f 选项没法用 另外 download_from_file() 里面 if (!fgets(url, sizeof(url - 1), listfp)) 这里应该是 sizeof (url) - 1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yzfedora/baidudl/issues/4#issuecomment-298907668, or mute the thread https://github.com/notifications/unsubscribe-auth/AMFWJu37DYM1qJDaR2WCv29FRXWf3g-Sks5r2H5zgaJpZM4JTvOv .