Download entire site with UrlDownloadToFile

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Lukas3544
Posts: 2
Joined: 13 Apr 2021, 10:17

Download entire site with UrlDownloadToFile

Post by Lukas3544 » 13 Apr 2021, 10:33

HI,

Is it possible to download an entire site with UrlDownloadToFile
When i run it now, it only downloads the top 3 rows. There is maybe a 100 rows, so its not like instagram where it just keeps going in infinty. when i enter the site manualy it also only loads the first 3 rows, and i will have to go the end of the page for the next 3 rows to be loaded... So is there any way to make AHK download the fully loaded site?
This is the page: https://tved.spar.dk/produkter

Lukas
malcev
Posts: 1769
Joined: 12 Aug 2014, 12:37

Re: Download entire site with UrlDownloadToFile

Post by malcev » 13 Apr 2021, 10:46

It can be done with winhttprequest.
Search forum for examples.
Lukas3544
Posts: 2
Joined: 13 Apr 2021, 10:17

Re: Download entire site with UrlDownloadToFile

Post by Lukas3544 » 13 Apr 2021, 11:40

Thanks for the respons.
I have been looking at WinHttpRequest, but I cant seem to find any examples of where it gets the fully loaded html of the website? only the html you also will get if just opening the webpage, and downloading the html.
Is there a function or somethin that does that?
Im quite new to AHK, so my knowledge is very limited, sorry
malcev
Posts: 1769
Joined: 12 Aug 2014, 12:37

Re: Download entire site with UrlDownloadToFile

Post by malcev » 13 Apr 2021, 11:53

You have to look in browser what requests it sends and send the same with winhttprequest.
It is not so easy and will take some time from novice.
Post Reply

Return to “Ask for Help (v1)”