Different outputs using URLDownloadToFile

Hi,
first time here, new programmer.
I am trying to download online html pages and then search after specific strings.
I implemented code with URLDownloadToFile function that did good job, then I found that on specific internet sites I get wrong output.
Instead of full html page, I get only header html file with meta data, style, color, display, width and directions to different browsers.
If I try "view page source" on the browser, I get the full html page.
It's https site.
Please help.
Thank you.
URLDownloadToFile? You should post in Windows Programming for Windows specific posts.

Have you seen wget and grep? https://www.gnu.org/software/wget/
Give an example site where that happens.

Post the html that gets downloaded.
(Remember to put it in code tags.)
Sometimes the html is generated by JS, which the browser executes but not URLDownloadToFile.
Topic archived. No new replies allowed.