Jump to content

_INETGETSOURCE with a password help


Recommended Posts

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)

WinWaitActive("Untitled - Notepad")
Link to comment
Share on other sites

That seems a work for WinHTTP:

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


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

Link to comment
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

Link to comment
Share on other sites

For that you need login script, which I believe being allowed is at a boss' discretion.

_InetGetSource s a wrapper around an Inet* function so you might try "http://myuser:mypassword@www.somesite.com"

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...