Executing Javascript from Python
Executing Javascript from Python Question: I have HTML webpages that I am crawling using xpath. The etree.tostring of a certain node gives me this string: <script> <!– function escramble_758(){ var a,b,c a=’+1 ‘ b=’84-‘ a+=’425-‘ b+=’7450′ c=’9’ document.write(a+c+b) } escramble_758() //–> </script> I just need the output of escramble_758(). I can write a regex to …