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.

What can --download-archive be used for?

See original GitHub issue

Checklist

Question

In this reply Pukkandan directs me to use the --download-archive option. But I don’t understand what this archive file is and how this would work in the particular case discussed in that thread.

I hope I can receive some education here!

Verbose log

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
FT129commented, Feb 13, 2022

If you download all your stuff to the same folder and you’re not sure if you’ve already downloaded a particular file, running yt-dlp with the --download-archive option every time will make sure it doesn’t download the same file again. It’s also good when you’re downloading a bunch of files at the same time and your download stops or your network drops for some reason, and some of the files have already been downloaded but you’re not sure which. You can run them again without worrying about accidentally downloading them again. I use this option along with a script that scraps full seasons of tv shows (free and legal) and downloads them. Occasionally the download breaks because of expired cookies or network issues and this really comes in handy because I can simply re-run them again without manually checking which downloads are complete and which are pending.

1reaction
pukkandancommented, Feb 13, 2022

There is a --force-write-archive option that writes the archive even in --simulate

Read more comments on GitHub >

github_iconTop Results From Across the Web

Downloading – A Basic Guide - Internet Archive Help Center
If an item is downloadable, there will a DOWNLOAD OPTIONS box on the right of the page ... How do I download an...
Read more >
How to Edit the Download Archive - Easy Digital Downloads
After a certain type of template file is chosen, in this case, an archive template, WordPress will use the names of the existing...
Read more >
Cannot download archive package - WordPress.org
Recently I have been facing a problem with downloading the archive file. This happened after I recreated my primary domain from a duplicator...
Read more >
How to download your Google data - Google Account Help
Step 1: Select data to include in your download archive. Go to the Download your data page. Google products that have your data...
Read more >
Understanding Compressed Files and Apple's Archive Utility
Apple's macOS includes an Archive Utility app to create and decompress .zip files. This article explains how to use Archive Utility to make ......
Read more >

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