Skip to content

Commit

Permalink
du ma no tao quen
Browse files Browse the repository at this point in the history
  • Loading branch information
phm-tuyenn committed Jul 19, 2023
1 parent 3b6e594 commit 76472f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion download.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function getList(a) {
timeout: 1000,
retries: 10,
}).then(function(){
let output = execSync(` yt-dlp -j --flat-playlist ${a.id}`).toString()
let output = execSync(` yt-dlp -j --flat-playlist ${a.id} --playlist-reverse`).toString()
data = JSON.parse(`[${output.replace(/\n/g, ",").substr(0, output.length - 1)}]`)
}).catch(async function(err){
console.error(err)
Expand Down

0 comments on commit 76472f1

Please sign in to comment.