I am in the process of learning and simultaneously building a web spider using scrapy. I need help with extracting some information from the following javascript code:
<script language="JavaScript" type="text/javascript+gk-onload">
SKART = (SKART) ? SKART : {};
SKART.analytics = SKART.analytics || {};
SKART.analytics["category"] = "television";
SKART.analytics["vertical"] = "television";
SKART.analytics["supercategory"] = "homeentertainmentlarge";
SKART.analytics["subcategory"] = "television";
</script>
I wish to extract the category information as television using Xpath. Please help me with the selectors I should use.