Web Scraping with AutoHotKey 107- using ClassName

web scraping with AutoHotkeyTwo women in an office smiling at a computer screen, one pointing at it while the other sits beside a green bottle on a desk.When I did my original posts on web scraping with AutoHotkey, I was unaware of ClassName  (getElementsByClassName).

About a year ago I was speaking with Jackie Sztuck from http://jszapp.com (BlackHolyman on the AHK forum) and he introduced me to ClassName.  In the past year I’ve really come to rely on it as my “go-to” for grabbing specific values from a page.   If Name or ID are present I’ll still use them however more and more sites don’t take the time to provide them.

This video demonstrates a few examples where I grab the ClassName.

Web Scraping with AutoHotkey– ClassName

Close-up of a laptop keyboard and touchpad with a USB drive and Intel and Windows stickers, showing a hardware setup for scripting

Comments are closed.