From ccf4b867d2094782aacd49345a8cd0e6c25ffb24 Mon Sep 17 00:00:00 2001 From: ai <105955582+aithedev@users.noreply.github.com> Date: Mon, 27 Feb 2023 18:33:04 -0500 Subject: [PATCH] Update example.py --- example.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example.py b/example.py index e7fa816..64971c7 100644 --- a/example.py +++ b/example.py @@ -1,10 +1,11 @@ import execjs import urllib.parse +# Replace the empty strings with valid values url = "" user_agent = "" query = urllib.parse.urlparse(url).query xbogus = execjs.compile(open('./X-Bogus.js').read()).call('sign', query, user_agent) new_url = url + "&X-Bogus=" + xbogus -print(new_url) \ No newline at end of file +print(new_url)