feat: add --no-check-certificate for youtube-dl

This commit is contained in:
DIYgod
2020-10-26 01:39:05 +08:00
parent 9b8ae3268c
commit 560ba74c6c
+1 -1
View File
@@ -2,7 +2,7 @@ const { exec } = require('child_process');
const config = require('../config');
module.exports = (options, callback) => {
let op = `--all-subs`;
let op = `--all-subs --no-check-certificate`;
let path = '';
if (options.path) {
path = `downloads/${options.path}/%(title)s-%(id)s.%(ext)s`;