Get indirect links Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
user549
Posts: 7
Joined: 23 Jan 2019, 04:30

Get indirect links

23 Jan 2019, 04:41

I use WinHttpRequest to download a page to get video source but the downloaded page with empty src tag. How could I get the video source in this case, please help. Thanks.
safetycar
Posts: 125
Joined: 12 Aug 2017, 04:27

Re: Get indirect links  Topic is solved

23 Jan 2019, 14:06

Probably the src is added later through javascript.
Each web page works in a different way, so I can't tell for sure.
Try playing with this:

Code: Select all

ie := ComObjCreate("InternetExplorer.Application")
ie.Navigate(Url)
Sleep, 1000 ; 1 second for the page and js to load. Adjust if needed.
body := ie.document.body.outerHTML
user549
Posts: 7
Joined: 23 Jan 2019, 04:30

Re: Get indirect links

25 Jan 2019, 04:51

It works.
Thanks for your help.

Return to “Ask For Help”

Who is online

Users browsing this forum: AHKStudent, Axxi, botman, Chunjee, Google [Bot], teadrinker and 298 guests