These python scripts should convert info.txt files from HDoujinDownloader to info.json files.
The use case I have is migrating from HappyPanda, which uses info.txt files for metadata, to Lanraragi, which uses info.json files for metadeta. I do not want to re-download all the metadata for my collection, so I wrote these scripts to convert existing info.txt files to info.json files without needing to re-download anything.
You need to have python3 installed for these scripts to work.
How to use conv.py:
For this to work your collection needs to have the following layout:
How to use batchconv.py
For this to work your collection needs to have the following layout:
I hope these instructions are clear.
I am not a developer. I looked at the python docs and examples I found online to piece these scripts together. This is certainly not the only nor the best way to go about this. It feels good to have gotten it working though!