SaveAsZip for Patreon

Download post images and save as a ZIP file.

< Commentaires sur SaveAsZip for Patreon

Avis: Bon - le script fonctionne correctement

§
Posté le: 07/08/2023

The script works fine. If feasible, please add the post date to the file name and save the post text in a txt file.

天音Auteur
§
Posté le: 07/08/2023

post text not in plan
but you can modify the code in line 98

98:    let save_zip_name = `patreon_${user_name}_${user_id}_${post_id}_${post_title}_images.zip`;
    to
98:    let save_zip_name = `patreon_${user_name}_${user_id}_${post_id}_${created}_${post_title}_images.zip`;
99:    save_zip.file('post_content.txt', post.data.attributes.content);

§
Posté le: 07/08/2023

post text not in plan
but you can modify the code in line 98

98:    let save_zip_name = `patreon_${user_name}_${user_id}_${post_id}_${post_title}_images.zip`;
    to
98:    let save_zip_name = `patreon_${user_name}_${user_id}_${post_id}_${created}_${post_title}_images.zip`;
99:    save_zip.file('post_content.txt', post.data.attributes.content);

Thank you for your guidance. The script is now almost perfect for me.

§
Posté le: 18/08/2023

就是好用,谢谢作者。无条件支持

Poster une réponse

Connectez-vous pour poster une réponse.