Sign in to follow this  
Followers 0
Hulamac

_INETGETSOURCE with a password help

4 posts in this topic

im trying to use _INETGETSOURCE to get the source of a page that is inside a password encrypted page i have my password to use the site and usernae and so on but im having trouble finding a work around for getting the source

my goal is to copy the source to a text file, then parse the source for information about the items on the page IE - product weight, price, stock quanity, ect

can someone suggest some reading i could do my self in order to learn how to do this?

or TEACH me how to do it. i want to learn how to do it so i understand how it works and can reproduce the code for another site or another page.... id like to learn it better, so i get better using autoit

this is the code im using right now

#include Inet.au3


local $s_URL = "https://online.blueridgeknives.com/folding-knives"
local $source = _INetGetSource($s_URL)


Run("notepad.exe")
WinWaitActive("Untitled - Notepad")
Send($source)

Share this post


Link to post
Share on other sites



That seems a work for WinHTTP:

Remember, basic understanding of the HTTP protocol is important to use this interface.

Hi!


My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s).

My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all!   My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file

Share this post


Link to post
Share on other sites

you could use InetGet("https://online.blueridgeknives.com/folding-knives","pag.html",1)

but it takes time if page reddirects...winHTTP seems the best bet


Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

Share this post


Link to post
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
Sign in to follow this  
Followers 0