youtube-dl: “--skip download” cancels out “--download-archive” (non-video material)
See original GitHub issueChecklist
- 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):
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:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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 isAs a workaround one could use
youtube-dl --get-id <channel/playlist url> >> archive.log
then prependyoutube
to each line.no, there is no such option.