我想要

我想要

我想要

  • 保存完整的网页(包括链接的 CSS、JavaScript、图像等,包括链接的 mp3(或任何其他音频)文件。
  • 只有一个类型为“mhtml”的单一文件,它是一个多部分文件。
  • 稍后可以使用(任何)浏览器打开此单个文件并查看下载时的页面(包括音频文件)

这是我想要保存的 URL:

https://quirli.replayer.app/player.html?media=media%2Flidija_roos-sweet_taste.mp3&title=Sweet%20taste&artist=Lidija%20Roos&album=Not%20for%20sale&0=Intro&15=Verse%201&45.5=Verse%202&75.94=Chorus&106.75=Verse%203&140.75=Chorus&172.07=Bridge&201.65=Chorus&232.65=Outro

这是来自的一个示例页面https://quirli.replayer.app播放器。

我一直在 Windows 和 Ubuntu Linux 上使用 Google Chrome。它大部分时间都有效,但保存的网页从未包含 mp3 文件。当我像往常一样尝试下载页面时,mp3 文件也丢失了,生成了多个文件。

我做了什么

我得到了什么

到目前为止,生成的 mhtml 包含图像、CSS 等,但不包含 mp3 文件。摘自 mthml 文件:

From: <Saved by Blink>
Subject: quirli - replay and share media with cues.
Date: Sun, 14 May 2016 21:39:17 -0000
MIME-Version: 1.0
Content-Type: multipart/related;
    type="text/html";
    boundary="----MultipartBoundary--s0EoeTgs0wh4NBKS7yadKZ1notfzker0FY7TZfz4Ct----"

------MultipartBoundary--s0EoeTgs0wh4NBKS7yadKZ1notfzker0FY7TZfz4Ct----
Content-Type: text/html
Content-ID: <[email protected]>
Content-Transfer-Encoding: quoted-printable
Content-Location: https://quirli.replayer.app/player.html?media=media%2Flidija_roos-sweet_taste.mp3&title=Sweet%20taste&artist=Lidija%20Roos&album=Not%20for%20sale&0=Intro&15=Verse%201&45.5=Verse%202&75.94=Chorus&106.75=Verse%203&140.75=Chorus&172.07=Bridge&201.65=Chorus&232.65=Outro

<!DOCTYPE html>
....

但是,它不包含 mp3 文件。

如何在单文件网页完整 MHTML 下载中包含链接的 mp3 文件?

虽然到目前为止我使用的是 Chrome,但任何主流浏览器对我来说都可以,只要我至少可以在 Google Chrome 中查看生成的页面。

相关内容