Parsing Web Page Source That Shows Up In Chrome Inspector

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
thomastthai
Posts: 18
Joined: 12 Mar 2020, 01:51

Parsing Web Page Source That Shows Up In Chrome Inspector

22 Mar 2020, 16:43

I'm working on parsing a web page for this pattern 'id="lesson-2674"' where 2674 could be any number. The challenge I'm encountering is these set of patterns only appear when I view the elements via Chrome's Inspector in Developer mode. When viewing the page source alone, I don't see these elements. Pictures are included to show the difference.

What options are there for AHK to get the page's source that is shown in Chrome's Developer view?

Thank you for any help!

T
Attachments
CGC Webpage Source No Lessons.jpg
CGC Webpage Source No Lessons.jpg (13.04 KiB) Viewed 510 times
CGC Webpage Source Has Lessons.jpg
CGC Webpage Source Has Lessons.jpg (52.19 KiB) Viewed 510 times
gregster
Posts: 9114
Joined: 30 Sep 2013, 06:48

Re: Parsing Web Page Source That Shows Up In Chrome Inspector

23 Mar 2020, 00:27

Probably dynamic HTML source code via javascript. How are you doing the parsing? Are you using Chrome.ahk or Selenium? Because I think both would allow to parse these elements... if it works in the console (document.getElementBy... and things like that), you should be able to replicate that with these tools.

Is the page you are looking at publicly available? That would probably help...

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], peter_ahk, TAC109 and 347 guests