django-screamshot is a very naive implementation of web pages capture with CasperJS.
USAGE
* Add ``screamshot`` to your ``INSTALLED_APPS``
As a screenshot Web API
Add it to your project URLs :
::
urlpatterns = patterns('',
...
url(r'^capture/$', include('screamshot.urls', namespace='screamshot', app_name='screamshot')),
)
You can then obtain a screenshot using the following GET parameters :
url
The website URL to capture. This can be a fully qualified URL, or the
name of a URL to be reversed in your Django project.
selector
CSS3 selector (*default:* ``body``)
method
HTTP method to be used (*default:* ``GET``)
data
HTTP data to be posted (*default:* ``{}``)
For example : http://server/capture/?url=http://django-fr.org&selector=h1
Product's homepage
Requirements:
· Python
· Django