Poipiku Downloader

Download images or text from Poipiku

< 腳本Poipiku Downloader的回應

評論:普通 - 腳本能使用,但有一些問題

§
發表於: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或关注我们的公众号极客氢云获取最新地址