Aaron knew best. I want to extract json data which are inside a javascript variable in the "script" tag of a web site. requests_html requires Python 3.6+. In Parsel, XPath selectors can also be used to extract text. By right-clicking and selecting View Page Source there are many