SaveAsZip for Patreon

Download post images and save as a ZIP file.

< Обсуждения: SaveAsZip for Patreon

Отзыв: Хороший — скрипт работает как нужно

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

天音Автор
§
Создано: 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 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.

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

Ответить

Войдите, чтобы ответить.

长期地址
遇到问题?请前往 GitHub 提 Issues。