Poipiku下载器

从Poipiku下载图片或文字

< 脚本 Poipiku下载器 的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发布于:2025-10-31
编辑于:2025-10-31

I've found the way to fix the error "can't create zip file" on another poipiku downloader, thank Shxnyun for this!

find the line that has this
// @connect img-org.poipiku.com

and add this line below
// @connect cdn.poipiku.com

done

§
发布于:2025-11-03

This worked for me. Thank you! Do you know how to fix the renaming?

§
发布于:2025-11-09

To fix the issue of saving with an invalid name, replace the two functions as below.

  • getSaveImageFilename
    getSaveImageFilename(src, index) {
      let cleanSrc = src.split("?")[0];
      let suffix = cleanSrc.split(".").splice(-1);
      const mode = $saveFileMode.is(":checked");

      if (mode) {
        return `${website}_${this.workId}_${index + 1}.${suffix}`;
      }

      return `${index + 1}.${suffix}`;
    }
  • a part of SaveImages
let promises = list.map((src, index) => {
        return getBlob(src).then((blob) => {
          finishehCount++;
          $status.text(`${finishehCount}/${list.length}`);

          if (zip) {
            folder.file(this.getSaveImageFilename(src, index), blob, {
              binary: true,
            });
          } else {
            let cleanSrc = src.split("?")[0];
            let suffix = cleanSrc.split(".").splice(-1);
            saveAs(
              new Blob([blob]),
              `${this.saveFilename}_${index + 1}.${suffix}`
            );
          }
        });
      });

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址