Questions tagged [spynner]

Spynner is a stateful programmatic web browser module for Python with Javascript/AJAX support based upon the QtWebKit framework.

Homepage: https://github.com/makinacorpus/spynner

70 questions
0
votes
0 answers

Why is Spynner so slow?

I'm currently using Spynner to load a web page a few times through a proxy. Through the debug feature, I've noticed that Spynner loads the non-local elements of a page individually and not concurrently. The webpage that I'm trying to visit is pretty…
0
votes
0 answers

Python spynner and gtk3 issue

I am always getting the following error on executing the script. I am trying to attach spynner window in a Gtk window. Is spynner will only works with gtk2?? import sys import spynner from BeautifulSoup import BeautifulSoup from gi.repository import…
0
votes
1 answer

spynner doesn't load XHR data

I'm building a script to monitor a reporting service. Depending on how it takes to process the report the report appears in HTML or comes via XmlHttpRequest. As a tool to check the page I want to use spynner, which works perfect for HTML, but it…
Bert Desmet
  • 153
  • 2
  • 9
0
votes
1 answer

ImportError: DLL load failed - when trying to import spynner

When I run a code which imports spynner, I get the following error: > python .\spynner-test.py Traceback (most recent call last): File ".\spynner-test.py", line 10, in import spynner File…
joon
  • 3,899
  • 1
  • 40
  • 53
0
votes
2 answers

Spynner downloads a zero-byte .jpg with browser.download(url, filename) - Python, PHP

Here is the code I have tried. The files are 0 bytes. I've also set imagedata=br.download(...) and it reports 0 for len(). I've been at this for hours... any ideas? pre_record_soup='[]' #simplified def…
0
votes
1 answer

Scraping Google

I am attempting to scrape Google search results as the results I receive using the API are not as useful as the results from the main site. I am using the python requests library to grab the search page. However I am receiving an error: Instant is…
Daniel Pilch
  • 2,097
  • 5
  • 24
  • 30
0
votes
3 answers

Spynner installation error on Mac OS X 10.9.1

I can't get to install spynner on Mac OS X 10.9.1 (Mavericks). I get the following error: error: command 'cc' failed with exit status 1 to mention that the error is thrown when the autopy dependency is installed. I have the Xcode, command line…
Andrei Stalbe
  • 1,511
  • 6
  • 26
  • 44
0
votes
0 answers

PDF rendered wrong using pisa

I am trying to write some code to scrape web pages. I am using spynner to get the html code and passing it to pisa I don't see any error when I run the python code but the pdf generate is all wrong. Here is the code I use -- import os import…
user220201
  • 4,514
  • 6
  • 49
  • 69
0
votes
1 answer

Python Spynner Filling HTML Fields

I'm trying to fill some fields on http://www.united.com/web/en-US/apps/booking/flight/searchAward.aspx?SB=1&CS=N. However, I can't get it to work. As an example, the "From" field in the "Where and when do you want to fly?" box. import spynner b =…
Matt W
  • 11
  • 3
0
votes
1 answer

Python 2.7 Spynner cx_Freeze

I've ran into a problem while freezing my Python 2.7 super simple script into a standalone application. I'm using Spynner with no problems at all, however when I try to freeze my super simple script: from spynner import * I get these following…
Martin Eliáš
  • 387
  • 1
  • 5
  • 11
0
votes
1 answer

Select option using python (spynner library)

I am trying to use the spynner library to select an option in html (need to use spynner, or a library that loads javascript). However, I cannot get it to work, even with this solved example: Using Spynner module in Python (need to select a…
0
votes
1 answer

Python 2.7 - Spynner - High RAM Usage Upon Page Refresh

I ran into the trouble when I made Page Refresh script. Here's the code: import spynner browser = spynner.Browser() When I type browser.load("http://stackoverflow.com") ..a few times, the script eats very much RAM. I tried: browser =…
Martin Eliáš
  • 387
  • 1
  • 5
  • 11
0
votes
1 answer

Fill in form using Spynner in Python

I am trying to fill in my user name and password on this site: https://www.imleagues.com/Login.aspx From there, I want to submit it and log in. I have been able to click the login button, but it tells me I have incorrect username and password. …
Hollis Scriber
  • 159
  • 1
  • 8
  • 18
0
votes
0 answers

How to retrieve title from dyamically formed web pages

I'm working on a bookmarking app using Django and would like to extract the title from web pages that use javascript to generate the title. I've looked at windmill and installed/ran selenium, which worked, but I believe these tools are more than…
Derek
  • 520
  • 1
  • 5
  • 19
0
votes
1 answer

Python - Set Spynner window to specific size

Using spynner in python, I'm looking for the correct approach to setting the window size to a spynner] Webview? I've looked through theQtDocumentation and there does seem to be a way have a fixed size, but can't figure out how it implements in…
Dustin
  • 6,207
  • 19
  • 61
  • 93