meh, damn formats
This commit is contained in:
parent
4253da7c49
commit
d648e1c848
@ -78,7 +78,7 @@ module.exports = (lib) => {
|
||||
var title = inf.title;
|
||||
var iurl = inf.iurl;
|
||||
try {
|
||||
var dlformat = (m4a?'m4a':'webm');
|
||||
var dlformat = (m4a?'audioonly':'webm');
|
||||
ytdl.downloadFromInfo(inf, { filter: (format) => { return format.container === dlformat; } })
|
||||
.on('response', (res) => {
|
||||
if( ( res.headers['content-length'] <= lib.cfg.main.maxFileSize ) || force ) {
|
||||
|
Loading…
Reference in New Issue
Block a user