Wget for Windows
http://nebm.ist.utl.pt/~glopes/wget/使用wget快速抓取網站上的所有資料
https://drive.google.com/file/d/fileID/edit?usp=sharing
wget --no-check-certificate https://googledrive.com/host/fileID -O FILENAME
config.wget.command + fileurl + config.wget.output + filepath;
注意! 連結共用 需 開啟 (網路上所有人均可找到存取)
https://drive.google.com/file/d/0B8p3dPzRohcnZUw4M0RqVjkxUE0/view?usp=sharing
https://docs.google.com/file/d/0B8p3dPzRohcnZUw4M0RqVjkxUE0/edit
ex: wget --no-check-certificate https://googledrive.com/host/0B8p3dPzRohcnZUw4M0RqVjkxUE0 -O media.mp4
config.wget.command + fileurl + config.wget.output + filepath;
var exec = require('child_process').exec,
child;
var wget = config.wget.command + videoReq.fileurl + config.wget.output + filepath;
child = exec(wget, function(err, stdout, stderr) {
if (err) {
var wgetDebugLog = '{wget_error_msg :' + err + '}';
callback(err, wgetDebugLog );
} else {
callback(null, filepath);
}
});
注意! 連結共用 需 開啟 (網路上所有人均可找到存取)
https://drive.google.com/file/d/0B8p3dPzRohcnZUw4M0RqVjkxUE0/view?usp=sharing
https://docs.google.com/file/d/0B8p3dPzRohcnZUw4M0RqVjkxUE0/edit
ex: wget --no-check-certificate https://googledrive.com/host/0B8p3dPzRohcnZUw4M0RqVjkxUE0 -O media.mp4
沒有留言:
張貼留言
注意:只有此網誌的成員可以留言。