Skip to content

Support multiple formats in one execution (i.e. --format html md; or similar) #19

Description

@timkatje

Sorry in advance if it already handles this, but I was afraid to test mid-download of a fairly large Substack.

Can we support downloading multiple formats, like both html and md in an efficient manner if we passed multiple formats to the --format param?

i.e. --format html md
or
--format html,md

And by efficient, I mean that if --download-images and/or --download-files is also passed, that it only has to download them and rewrite the URLs once when creating both outputs?

When I ran two different commands in my early testing, it took as long, or longer to create the .md output as it did the .html. I didn't see any data changes on the already downloaded images, so don't think it's re-downloading them. But sort of expected the subsequent run to go slightly faster considering all images had already been downloaded during the html run.``

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions