Scraping Data in Javascript

Hello, I’m scraping a website that looks like this:


var message = "Hello";
var number = 123;


I’m looking to scrape the number variable and message variable, how can I do this in Python or PHP?

Im assuming using the raw HTML file.

Found a solution:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.