Skip to main content

A tool for downloading embedded images in a Markdown document into a dedicated directory and replacing the image links with the local ones.

Project description

Attachments Fetcher

A tool for downloading embedded images in a Markdown document into a dedicated directory and replacing the image links with the local (fetched) ones.

Usage example

For example, if you have a Markdown called input.md, with the following contents:

Hello world!
![image](https://example.com/image/storage/sample.png)

After running this script against it:

af-make-local -i input.md -o output.md -m ./media

You will find a new file called output.md with the following content:

Hello world!
![image](./media/sample.png)

and a sample.png image file, stored in the ./media directory.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

attachments_fetcher-0.1.4.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

attachments_fetcher-0.1.4-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file attachments_fetcher-0.1.4.tar.gz.

File metadata

  • Download URL: attachments_fetcher-0.1.4.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for attachments_fetcher-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a009eebccd0f926274ece52f5b1f25cc6336aa6a10cf2a66a20c4cb670fff4e7
MD5 49b1c1a47accd40f4251a5857aac1791
BLAKE2b-256 11466174fd2f615af3257d30d430ea0ed22b80c2dac003f9c319aa1d9aadcd9b

See more details on using hashes here.

File details

Details for the file attachments_fetcher-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for attachments_fetcher-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fb4876c6ce4e9d6b457ac6c6d9f951752b120802ee533c6b45e9d2fdec642678
MD5 d0ec49e7324992d3140c542d429fcce6
BLAKE2b-256 82ba75cece61134fb36a79753202096d94243b91422ff25ebce4d927545aa8ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page