Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the urvanov-syntax-highlighter domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/controll/public_html/wp-includes/functions.php on line 6114
September 2022 – ControllingTheInter.net

Scraping a website with Chrome Javascript Console

The following code is an approach on how to scape a website using the JavaScript console. This method is a slight improvement of https://controllingtheinter.net/2022/06/13/screenscrape-a-website-with-powershell-3-0/ as now I take the data, cast it into a JavaScript variable then write it out to a textdump. I can then save the textdump and reference it from another language …