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

Uploaded Python 3

File details

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

File metadata

  • Download URL: attachments_fetcher-0.1.1.tar.gz
  • Upload date:
  • Size: 3.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.1.tar.gz
Algorithm Hash digest
SHA256 a015d587a99c90a6293c3bc8dd5782d4d5e33bc8c070f8f10911a3314ae8f471
MD5 8349346a3a78be1ce717cca1973a25ed
BLAKE2b-256 b092fd446f8ea03b2b7fa55f0328f910eea457b39b0d72eef46cc2b39bc6bde7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for attachments_fetcher-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6b597cdf6a062fbe6acde2d10009c5a22af0cffc73ea2c149d19be723e424b0
MD5 1c9ccbe5f19d07c47ea2295e5b1dd9d0
BLAKE2b-256 ffa9768c3f9414e7ebc2cdb8c7b3cdd289c1e6df50bbbf1d00f4b722fd1402d8

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