Jump to content

how to


netegg
 Share

Recommended Posts

You mean... you have the html source and you want to know the title of the document? (the one that shows in your browser's titlebar?) Well they are between the tags

<title></title>

So it's quite easy:

#include <Inet.au3>

$URL="www.google.com"

$Source=_INetGetSource($URL)

$DocTitle=StringRegExp($Source,"(?i)\<title\>(.*?)\</title\>",1)

MsgBox(0,"","The title of " & $URL & " is: " & $DocTitle[0])

if that's not what you want, then explain more :D

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

  • Recently Browsing   0 members

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