Skip to content

Inlining local file #3

Description

@pc1oad1etter

I am trying to inline an HTML file and its images stored on my local machine. I see the option -I for specifying a name from the local directory, and -l, to not download data.

However, I'm seeing that the URI argument is required. What should I supply as the argument for the URI? I have a file "custom.html" in my current working directory. I have tried using the "custom.html", "./custom.html", and "file://custom.html":
~/dev/python-html-inliner/inliner.py -d tmp -u file://custom.html -il --prettify --verbose > custominliner.html

each time it tells me that no html files could be found in the tmp folder.

How can I accomplish this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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