storage is expensive
This commit is contained in:
parent
87a8f66f71
commit
26eb7b7ec5
|
@ -3,7 +3,7 @@ const metadata = require('./metadata.js')
|
||||||
|
|
||||||
async function downloadVideo(url, ws, id) {
|
async function downloadVideo(url, ws, id) {
|
||||||
return new Promise(async (resolve, reject) => {
|
return new Promise(async (resolve, reject) => {
|
||||||
let quality = '720p60'
|
let quality = '480p'
|
||||||
const video = await metadata.getVideoMetadata(id)
|
const video = await metadata.getVideoMetadata(id)
|
||||||
if (video.error) {
|
if (video.error) {
|
||||||
return resolve({
|
return resolve({
|
||||||
|
|
Loading…
Reference in New Issue