Questions tagged [ghost.py]

Ghost is a webkit client written in Python, it provides people making a Python based application to access web applications.

Ghost

Ghost is a webkit client coded in and written by jeanphix,

usage

from ghost import Ghost
ghost = Ghost()
page, extra_resources = ghost.open("http://jeanphi.fr")

Resources

68 questions
0
votes
1 answer

extracting address from web using ghost.py

I am learning to use python 2.7 and ghost.py to do some web scraping, I googled ghost.py a lot but I found very little documentation or help on use it, which gives my a bumpy ride when learning ghost.py. I wrote a little script below to try send a…
lokheart
  • 23,743
  • 39
  • 98
  • 169
0
votes
1 answer

Ghost.py - what does this stack trace mean?

How do I go about debugging this stack trace? Traceback (most recent call last): File "", line 73, in execInThread File "C:\Program Files (x86)\PyScripter\Lib\rpyc.zip\rpyc\core\netref.py", line 196, in __call__ File "C:\Program Files…
user1379351
  • 723
  • 1
  • 5
  • 18
0
votes
2 answers

Screenshot not including images using python ghost.py

I am using ghost.py to take a screencapture of a webpage. But the script isn't capturing any of the images on the page. I've set download_images=True - but that doesn't seem to work. My code: from ghost import Ghost ghost = Ghost(wait_timeout=4,…
JonnyD
  • 487
  • 2
  • 7
  • 19
0
votes
1 answer

Follow a link with Ghost.py

I'm trying to use Ghost.py to do some web scraping. I'm trying to follow a link but the Ghost doesn't seem to actually evaluate the javascript and follow the link. My problem is that i'm in an HTTPS session and cannot use redirection. I've also…
user294186
  • 63
  • 6
0
votes
2 answers

Will ghost.py allow my users to scrape javascript injected images?

My site, http://whatgoeswiththis.co, has a scraper that takes images from the web and posts to our site. I can get server rendered images no problem, but for sites like…
YPCrumble
  • 26,610
  • 23
  • 107
  • 172
-1
votes
1 answer

How can I get data from iframe with ghost.py?

I'm trying to scrape site with iframe so when I do ghost.show() I see my result normally so iframe is filled, but after when I do ghost.content it returns iframe empty, think it's done for security but how can I get this data? Thank you and sorry…
Shekspir
  • 87
  • 2
  • 12
-2
votes
3 answers

Get information from a Ghost.py file

i am doing a project in which i need to get the information from webpages. i am using python and ghost for it. i saw this code in the documentation: links = gh.evaluate(""" var linksobj = document.querySelectorAll("a"); …
user1934948
  • 311
  • 1
  • 4
  • 15
-5
votes
1 answer

Python importation error with Ghost.py

Ghost.py is correctly installed, though it can't find it's module
1 2 3 4
5