How do I open a Ghost local html file in which I want to run javascript? I only know how to do it from a tutorial from the internet.
from ghost import Ghost
ghost = Ghost()
page, extra_resources = ghost.open(url)
How do I open a Ghost local html file in which I want to run javascript? I only know how to do it from a tutorial from the internet.
from ghost import Ghost
ghost = Ghost()
page, extra_resources = ghost.open(url)
Instead of the url provide the local location.
Example: page, extra_resources = ghost.open('/home/dan/index.html')