Story Downloader - Facebook and Instagram

Download stories (videos and images) from Facebook and Instagram.

< 腳本Story Downloader - Facebook and Instagram的回應

評論:正評 - 腳本一切正常

§
發表於:2025-09-23

請問要如何修改下載路徑,我搜尋了整個C:,才找到在C:\Users\Administrator...

oscar370作者
§
發表於:2025-09-24

I don't change the download path in the script. The browser handles it.

async downloadMedia(url, filename) {
  try {
    const response = await fetch(url);
    const blob = await response.blob();
    const link = document.createElement("a");
    link.href = URL.createObjectURL(blob);
    link.download = filename;
    document.body.appendChild(link);
    link.click();
    document.body.removeChild(link);
    URL.revokeObjectURL(link.href);
  } 
  catch (error) {
    console.error("Download error:", error);
   }
}

This function is executed after clicking the download button. As you can see in the line that says link.click(), the code simulates clicking on the link with the photo/video URL, and the browser downloads the file.

§
發表於:2025-09-26

抱歉,是我搞錯了腳本,可以成功下載圖片...
真不好意思
Sorry, I messed up the script.

I can successfully download the image...

Sorry.
so thanks you

發表回覆

登入以回覆