Jump to content

Recommended Posts

Posted (edited)

I'm working on a flash grabbing tool. I'm having a little trouble here though. Instead of MsgBoxing a flash url, it displays this:

http://....some url in the page source
Rest of page source
...
...
...
...
some flash url.swf

Ok, that was confusing

Heres my code so far. This is just the structure i'm working on, but i will be adding a GUI if i can get this figured out:

#Include <INet.au3>
$url = InputBox("Flash Getter", "Enter a url to grap flash from", "http://")
$source = _INetGetSource($url)
$i = 1
$i = $i + 1
$begin = StringInStr ($source, "http://", 0, $i)
$mid = StringMid($source, $begin)
$end = StringInStr ( $source, ".swf" )
$address = StringMid ( $source, $begin, $end - $begin + 4 )
MsgBox(0,"", $address)

Can anyone help me with this?

EDIT: yes, I know it says "getter"

Edited by codemyster
Posted

How would i do that?

I was gonnna INetGet what is displayed in the MsgBox, i just put a MsgBox to see if it would return the right string

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...