question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

youtube-dl: “--skip download” cancels out “--download-archive” (non-video material)

See original GitHub issue

Checklist

  • I’m asking a question
  • I’ve looked through the README and FAQ for similar questions
  • I’ve searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE

SO question (link here):

https://stackoverflow.com/questions/57168566/youtube-dl-skip-download-cancels-out-download-archive-non-video-materi

trying to download a Youtube playlist’s json metadata (NOT VIDEOs):

–skip download ignores video downloads, just giving the .json info

–download-archive archive.txt saves a URL list of previously downloaded videos from this playlist to archive.txt, and skips over them if I run the youtube-dl command again.

However, including --skip download in the commands results in URLs of each video not being added to archive.txt, which suggests yt-dl only counts videos as extracted metadata and no . Are the two commands able to run together in any format/order or is this a bug?

EXAMPLE CODE:

youtube-dl -i --write-info-json --skip-download --download-archive __archive___.txt < PLAYLIST >

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

5reactions
akaleeroycommented, May 9, 2020

Please consider adding this option. I downloaded GBs worth of videos only to realise the playlist was ongoing. Renamed the files into something sane, so the only option now to continue where I left off is using a --download-archive log file. I’m not about to waste that much bandwidth on re-downloading just to produce the log.

The format for the --download-archive log file is

youtube AdL9Yd0lB_k
youtube YxBZbzIXNTg
youtube qsE_XxfFQ0w
youtube AdL9Yd0lB_k
...

As a workaround one could use youtube-dl --get-id <channel/playlist url> >> archive.log then prepend youtube to each line.

2reactions
remitaminecommented, Jul 24, 2019

no, there is no such option.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found