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.3.tar.gz (5.8 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.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: attachments_fetcher-0.1.3.tar.gz
  • Upload date:
  • Size: 5.8 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.3.tar.gz
Algorithm Hash digest
SHA256 6800fbc49a205c34a8f75b6a429faccfa785b4e94883388a299f57d1e450c320
MD5 f82e03b6fa7b51598126c799f67a7b43
BLAKE2b-256 0f440c52f9b5afc18987f18088ca47fba57ebb1832c8a5be16e15ec399444db0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for attachments_fetcher-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1a73fe2d95f73d1d2486ab28e6efb1fdc5bbcd76ea893d54d2040d0eb16805fe
MD5 b6d59d67852319a8513c7e1cbfb7fbe9
BLAKE2b-256 99a3e37baa86c8e037c80beef48c7dd043ccfb70a4f3e8cfe99732a144f269aa

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