Can I load HTML on Ghost.py ,
If I use BeautifulSoup get the HTML code , how to load it on Ghost.py .
I try but not success, :
from ghost import Ghost()
from urllib.request import urlopen
from bs4 import BeautifulSoup
page = urlopen("http://en.wikipedia.org")
html = BeautifulSoup(page)
g = Ghost()
with g.start() as session:
page, resources = session.open(html)
Thank you for help .