deathau / markdownload

A Firefox and Google Chrome extension to clip websites and download them into a readable markdown file.
Apache License 2.0
2.9k stars 226 forks source link

[Feature] Write link data-src instead img src #320

Open patsevanton opened 6 months ago

patsevanton commented 6 months ago

Hello! Thanks for markdownload

I try many page from habr.com Finaly markdown file contain image from img src. But img src ugly. May markdown save a link from data-src ?

For example, page https://habr.com/ru/companies/vk/articles/507732/ have source:

<img src="https://habrastorage.org/r/w780q1/webt/js/kh/73/jskh73tczjpuwq8cmrtjyxxejic.jpeg" data-src="https://habrastorage.org/webt/js/kh/73/jskh73tczjpuwq8cmrtjyxxejic.jpeg" data-blurred="true"/><br/>

But save/write to markdown:

![](https://habrastorage.org/r/w780q1/webt/js/kh/73/jskh73tczjpuwq8cmrtjyxxejic.jpeg)