Kenshin / simpread

简悦 ( SimpRead ) - 让你瞬间进入沉浸式阅读的扩展
http://ksria.com/simpread
GNU General Public License v3.0
8.06k stars 529 forks source link

保存epub网页内容中的图片丢失 #478

Open QHQIII opened 5 years ago

QHQIII commented 5 years ago

在360doc中的文章含有图片时,保存epub时文件中对应位置的图片没有保存下来

Kenshin commented 5 years ago

谢谢反馈。

造成这个问题的原因很多,比如:防盗链?相对地址?等等... 建议给我个 URL

QHQIII commented 5 years ago

感谢回复,今天发现插件有保存epub的功能,就想到可以用来把网页做成epub保存下来,在360doc(http://www.360doc.comhttp://www.360doc.com/)中尝试, 首先该网站不能自动适配阅读模式, 使用临时阅读模式将想要保存的元素选定后以插件保存epub不能保存图片,只能保存文本, 并且不是孤例,随手尝试了几个网址都是这样的: http://www.360doc.com/content/19/0414/13/19615772_828705230.shtml http://www.360doc.com/content/19/0416/09/16534268_829127128.shtml http://www.360doc.com/content/13/1211/21/6822550_336436640.shtml

刚刚发现,有时候保存的epub中文本不完全:浏览器阅读显示的文本在保存为epub后丢失了一部分: http://www.360doc.com/content/19/0414/13/19615772_828705230.shtml

发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用


发件人: Kenshin Wang notifications@github.com 发送时间: Wednesday, April 17, 2019 10:20:36 AM 收件人: Kenshin/simpread 抄送: QHQIII; Author 主题: Re: [Kenshin/simpread] 保存epub网页内容中的图片丢失 (#478)

谢谢反馈。

造成这个问题的原因很多,比如:防盗链?相对地址?等等... 建议给我个 URL

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Kenshin/simpread/issues/478#issuecomment-483911537, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AvF8_sCFvCXbr5Jea1P4IS0dDRAdP4bqks5vhoT0gaJpZM4c0C7j.

Kenshin commented 5 years ago

谢谢提供 URL 简单的看了下,图片并不是 相对地址,并且却如你说,无法生成图片。


生成 Epub 使用了第三方服务 https://epub.press/ 估计 360doc 采用了某种防盗图的功能,所以在使用此服务时无法成功。


我随便找了一篇文章 https://www.ifanr.com/app/1190391 没有问题的,所以估计是上述问题造成的。 详细我再调查下。