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)