I have a new ArchiveBox setup (0.8.5rc51) and I would like to change the yt-dlp options to have a different formatting of the output file name. This option contains a % (percent sign), for example -o '%(id)s.%(ext)s' .
I was able to set the option using the following:
archivebox config --set YTDLP_EXTRA_ARGS="['-o', '%(id)s.%(ext)s' ]"
But during the next startup I get the following error:
InterpolationMissingOptionError: Bad value substitution: option 'YTDLP_EXTRA_ARGS' in section 'YTDLP_CONFIG' contains an interpolation key 'id' which is not a valid option name. Raw value: "[ '-o', '%(id)s.%(ext)s' ]"
ArchiveBox fails to start, I can't even update the value using archivebox config --set because it is reading the stored config again fails before processing the update.
I manually edted archivebox/data/ArchiveBox.conf and removed the problematic line, now it can start up.
My question is, what is the proper way to include a % in this configuration?
Note: I have removed most of the option and left the problematic part only.
Note: in older versions (e.g. 0.7.3) I just edited config.py and it worked.