BackTick in JavaScript Throws 500 On Some Environments (Angularjs page)

Have a really odd issue. Have an old AngularJs page where some JavaScript will work on all of my development servers, but not in Production. I use the same browser so I know that isn’t the issue. For example: Works everywhere EXCEPT Production: var drug = $(`#Grid tr:contains(‘${drugs[i].barcode}’)`); Works everywhere INCLUDING Production: var drug =…

How to parse returned Javascript code from get request in Python

I’m sending the following get request <a href=”#” onclick=”new Ajax.Request(‘/book/reviews/4981?authenticity_token=vxZvklgqILI3SBwtJLDN5DicJKt93LiOWxYwFa%2BrWDdsJxTTAs46WvPN3L1PKNW3qpmacr%2BnWYXexhR%2BfoB3Cw%3D%3D&amp;amp;hide_last_page=true&amp;amp;language_code=en&amp;amp;page=4′, {asynchronous:true, evalScripts:true, method:’get’, parameters:’authenticity_token=’ + encodeURIComponent(‘FUvf1v6N9TgtBKVmo5I3YLm3yVwb//WU9zZDdj1oWd3GeqSXpGnv0OmBZfbICi8zK7J3hdmEFJ9y5mcd7EN24Q==’)}); return false;”>4</a> in Python, which I have written as import urllib URL = ‘https://www.goodreads.com/book/reviews/4981?authenticity_token=vxZvklgqILI3SBwtJLDN5DicJKt93LiOWxYwFa%2BrWDdsJxTTAs46WvPN3L1PKNW3qpmacr%2BnWYXexhR%2BfoB3Cw%3D%3D&amp;amp;hide_last_page=true&amp;amp;language_code=en&amp;amp;page=4’ s = ‘FUvf1v6N9TgtBKVmo5I3YLm3yVwb//WU9zZDdj1oWd3GeqSXpGnv0OmBZfbICi8zK7J3hdmEFJ9y5mcd7EN24Q==’ PARAMS = {‘asynchronous’:True, ‘evalScripts’:True, ‘method’:’get’, ‘parameters’:’authenticity_token=’ + urllib.parse.quote(s.encode(“utf-8”)) } r = requests.get(url = URL, params = PARAMS) I’m new to this, but…