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.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

attachments_fetcher-0.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file attachments-fetcher-0.0.1.tar.gz.

File metadata

  • Download URL: attachments-fetcher-0.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for attachments-fetcher-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4f88bccc0a6345a2e510df92d30649da80f487234cc93c394861f7708db3ac96
MD5 3e63529c60be69cff1196af634e3ede7
BLAKE2b-256 3d1d4d65200548cd68689a9cce57b1d9f4e4e78d76049475ee76e500df2830d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for attachments_fetcher-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1dde2460720c7e6f5b8f3d207fe56e48dfc1d92f0863ad2c18eb1d6840429613
MD5 b004a5183fae68c65c103acc4869e1b4
BLAKE2b-256 5139f3061a30c77c86b4000a30cb93d979d544c51c0a0c0b6ad867dbd8af3def

See more details on using hashes here.

Supported by

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