Skip to main content

Screen shot a URL.

Project description

set values for using environment variables:

export SCREENSHOT_USER=’’ export SCREENSHOT_PASSWORD=’’ export SCREENSHOT_SERVER_URL=’’ export SCREENSHOT_FORCE_ENV=‘1’

set values for using django settings:

SCREENSHOT_USER=’’ SCREENSHOT_PASSWORD=’’ SCREENSHOT_SERVER_URL=’‘

Capture a screen shot and get the URL:

from django_screenshots import Builder b = Builder(‘http://www.google.com/’) b.capture() print(b.image_url)

Get info about a screen shot:

from django_screenshots import Builder b = Builder(‘http://www.google.com/’) print(b.info())

Search for a URL:

from django_dscreenshots import Builder b = Builder(‘http://www.google.com/’) print(b.search())

For developers:

How to upload to pypi:
python setup.py sdist register upload # python setup.py sdist # twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-screenshots-0.1.7.tar.gz (2.6 kB) Copy SHA256 hash SHA256 Source None Jan 30, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page