Notice: Constant automattic\jetpack\extensions\social_previews\FEATURE_NAME already defined in /home/controll/public_html/wp-content/plugins/jetpack/extensions/blocks/social-previews/social-previews.php on line 14 – Page 2 – Tech News, Legal and Daily Blog

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 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 as JSON is available in the NEWTONSOFT library of .NET

The following code was my failed attempt of storing it into an HTML element, then from there JSON.stringify out the data but I was not able to get the generation of XYZ to work correctly, It may be that I need to convert it to a class instead, but for now the method above worked just fine and was a few lines less.

Limitations of JSON stringify:

Now the trick is to get powershell to read the object back into memory and to parse it property. After dumping the data it seems this site is confirming that it does not confirm to RFC.

So in order to output the data in a nicely formatted way I used

Here is another quick example of pulling Xpaths and sleeping as it rolls through div’s

Removing an Idle Timer with Autoit.

Used to remove an Idle timer from a mouse move. Detect mouse and keyboard movement.

Spawning processes from a .NET service in windows 10 as another user

With Isolation, One thing I would note is that the CREATE_NO_WINDOW may be the new requirement.

Screenscrape a website with Powershell 3.0

Grab the Chrome information from the Developers tab to complete the script and adjust the getElementsby[Tag/Class/ID] as needed.

Also, ensure to remove the -UseBasicParsing param in the Webrequire generated by chrome.

Quickly extracting links for Data gathering and running an Analysis on the California Bar.

Downloaded all of calbar Exams for review