mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Import videos in the correct order
This commit is contained in:
parent
f000931687
commit
5f26c73521
@ -48,7 +48,7 @@ async function run () {
|
|||||||
const res2 = await login(program['url'], client, user)
|
const res2 = await login(program['url'], client, user)
|
||||||
accessToken = res2.body.access_token
|
accessToken = res2.body.access_token
|
||||||
|
|
||||||
const options = [ '-j', '--flat-playlist' ]
|
const options = [ '-j', '--flat-playlist', '--playlist-reverse' ]
|
||||||
youtubeDL.getInfo(program['youtubeUrl'], options, processOptions, async (err, info) => {
|
youtubeDL.getInfo(program['youtubeUrl'], options, processOptions, async (err, info) => {
|
||||||
if (err) throw err
|
if (err) throw err
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user