I'm a novice data hoarder, and have a few hundred videos archived from YouTube, using the following youtube-dl config file:

-o "%(uploader)s (%(uploader_id)s)/%(upload_date)s - %(title)s - (%(duration)ss) [%(resolution)s] [%(id)s].%(ext)s"

# Archive Settings
--download-archive youtube-dl-archive.txt
-a youtube-dl-channels.txt

# Uniform Format
--merge-output-format mkv

# Get All Subs to SRT
--convert-subs srt

# Get metadata

# Debug

I just recently realized that I should really be including the --write-info-json option.

How can I go back through and download just the info-json files for all the videos without re-downloading the videos themselves? I've been using the -a option to keep track of what videos I've already archived, and thus I can easily use that file as a list of all the videos I need to download the info-json file for.

But I still don't know how to download just the info-json. Thanks for any pointers here.


Not a fully fledged answer, but as I am new and cannot add a comment, I have to use this

Have you tried the -j, --dump-json option, or one of the other ones listed in the manual at https://github.com/ytdl-org/youtube-dl/blob/master/README.md#verbosity--simulation-options ?

I just tried it and it seemed to work fine on a single video

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.