Skip to content

Instantly share code, notes, and snippets.

Created January 27, 2019 23:36
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save danquack/ae50ae16b37d5c97e6d434387b807bbd to your computer and use it in GitHub Desktop.
Example implementation of capturing traffic
# Example usage of
from os import environ
from prerender.prerender import Prerender
client = Prerender(robots_url="",
auth=(environ.get('username', None), environ.get('password', None)),
query_char_deliminator=' ',
allowed_domains=['', ''])
# Entire page
# individual page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment