diff --git a/src/main.js b/src/main.js index e8acbd6..4d3852c 100644 --- a/src/main.js +++ b/src/main.js @@ -218,7 +218,7 @@ var dl = (url, dest, cb) => { probe(dest+"."+cfg.allowedMimes[response.headers['content-type']], (err, probeData) => { if(probeData.streams[0].height !== undefined || probeData.streams[0].width !== undefined) { if(probeData.streams[0].height <= cfg.minRes || probeData.streams[0].width <= cfg.minRes) { - cb({'status':false, 'msg':'f0ck! your file is too large ('+probeData.streams[0].width+' x '+probeData.streams[0].height+'), min '+cfg.minRes+' x '+cfg.minRes+' required', 'type':1}); + cb({'status':false, 'msg':'f0ck! your file is too small ('+probeData.streams[0].width+' x '+probeData.streams[0].height+'), min '+cfg.minRes+' x '+cfg.minRes+' required', 'type':1}); } else cb({'status':true, 'msg':'downloaded '+dest, 'type':1, 'infos':{'mime':response.headers['content-type'], 'size':response.headers['content-length'], 'ext':cfg.allowedMimes[response.headers['content-type']]}});