From 68437a9aebd99469b56ce8d1a0b107e0e3c87b97 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 26 Feb 2018 08:31:24 -0500 Subject: [PATCH] backwards compatibility Signed-off-by: Kenneth Reitz --- requests_html.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requests_html.py b/requests_html.py index 3c255f6..1ab0f6d 100644 --- a/requests_html.py +++ b/requests_html.py @@ -201,3 +201,6 @@ class Session(requests.Session): response.html = HTML(response=response) return response + +# Backwards compatiblity. +session = Session()