Sign in to follow this  
Followers 0
NELyon

Making a flash grabbing tool

4 posts in this topic

#1 ·  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

Share this post


Link to post
Share on other sites



Bump

Can anyone help me? I can't get this figured out

Share this post


Link to post
Share on other sites

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

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