I suspect I'm going about an easy process in the most difficult manner possible.
The head section of the target site has a JavaScript script which contains many variables. I need to extract one of those variables.
So if I have:
<script type="text/javascript">
window.site_vars = {"width": "100", "actions": "r=x100&c=80x80", "height": "80"}
</script>
How would I return the value of "height"? Anything I try is choking on the quotation marks.