From e9c162f5f76c87452fb84a833287b313ae7932a4 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 28 Feb 2018 08:20:34 -0500 Subject: [PATCH] next version Signed-off-by: Kenneth Reitz --- requests_html.py | 6 ++++++ setup.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/requests_html.py b/requests_html.py index 082ca5f..7311667 100644 --- a/requests_html.py +++ b/requests_html.py @@ -329,6 +329,12 @@ class HTML(BaseParser): """Reloads the response in Chromium, and replaces HTML content with an updated version, with JavaScript executed. + :param retries: The number of times to retry loading the page in Chromium. + :param script: JavaScript to execute upon page load (optional). + :param scrolldown: Integer, if provided, of how many times to page down. + :param sleep: Integer, if provided, of how many long to sleep after initial render. + :param reload: If ``False``, content will not be loaded from the browser, but will be provided from memory. + If ``scrolldown`` is specified, the page will scrolldown the specified number of times, after sleeping the specified amount of time (e.g. ``scrolldown=10, sleep=1``). diff --git a/setup.py b/setup.py index 873dabe..b28f984 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ DESCRIPTION = 'HTML Parsing for Humans.' URL = 'https://github.com/kennethreitz/requests-html' EMAIL = 'me@kennethreitz.org' AUTHOR = 'Kenneth Reitz' -VERSION = '0.6.7' +VERSION = '0.6.8' # What packages are required for this module to be executed? REQUIRED = [