>>28423>Not sure if I understand this partWithout an archive, it'll download the metadata and overwrite it each time you run gallery-dl.
>Would it do something similar for metadata JSON files (only download updated versions) if you also added a timestamp to said JSON file's filename?It won't overwrite the file if you use a timestamp.
>Jamming {content} into the archive seems like it would bloat the archive's filesize.You can hash it. Here's an example of how to tell gallery-dl to compute SHA-1 of a post's title and add it to an archive file.
https://pastebin.com/Q3k3C7mG
>Artists sometimes post links to MEGA or Dropbox or what have you and their post is only a preview; having the post content in a plain text file within the directory is usefulHere's how I get file sharing links from posts. Create a folder called "templates" in your gallery-dl directory and save this as "kemono.html"
https://pastebin.com/4F2Ed2wT and add this to your config file
https://pastebin.com/pmpni84f.
This will save the post as a HTML file in a subfolder called "metadata" inside your extractor's directory. Then, you can scroll through it with your browser by combining all of the HTML files into one HTML file and dragging the combined file to your browser. Since it's being saved to an archive and there's a timestamp in the filename, it'll only download the post when it's been updated, it won't overwrite your existing file and you'll know when the post has been updated when the "metadata" subfolder has one more "timestamp metadata.html".
Post too long. Click here to view the full text.