Jump to content

Getting HTML from HTTPS website


Arlen
 Share

Recommended Posts

I need to find a way to get the HTML from a website that has HTTPS. This is what I have tried:

- WinHttp (Only worked on HTTP NOT HTTPS)

- InetGet and _INetGetSource Function (Not working for HTTPS)

- IE.au3 (Does work but it's too slow for my needs)

If anybody can point me on the right direction, I would really appreciate it.

 

Edited by Arlen
Link to comment
Share on other sites

maybe the server that provides the web page checks the browser you are using to decide whether or not to send the source. If you say that with IE.au3 it works, then you could try using the HttpSetUserAgent ('' Mozilla / 5.0 '') command right away before using the InetGet () or InetRead () functions ...

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Link to comment
Share on other sites

10 minutes ago, Chimp said:

maybe the server that provides the web page checks the browser you are using to decide whether or not to send the source. If you say that with IE.au3 it works, then you could try using the HttpSetUserAgent ('' Mozilla / 5.0 '') command right away before using the InetGet () or InetRead () functions ...

You have saved my life.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...