Extracting the exact file location
I am not sure if it would be possible or not in vb.
this url has player : http://www.megavideo.com/v/MXHZ5WG2c...f.7886382642.0
and the file it plays is actually
http://www553.megavideo.com/files/e4...dc5f764013a62/
I want to extract that actual file location.
Re: Extracting the exact file location
Re: Extracting the exact file location
what you mean?
Its a very popular site.. how you come up with scam site idea? :rolleyes:
Re: Extracting the exact file location
i clicked the link, got like movie screen, clicked play, got many popups to gambling sites, no movie
Re: Extracting the exact file location
Quote:
Originally Posted by westconn1
i clicked the link, got like movie screen, clicked play, got many popups to gambling sites, no movie
I have checked it again.. it plays movie fine with one popup only.
Re: Extracting the exact file location
Like westconn1, I too clicked on the link and then clicked on play and got the video. When I clicked out of the video I got several sex popup windows one after another. I hate that crap.
Anyway exactly what do you mean by I want to extract that actual file location.? Are you asking how to extract the file location (ie, the URL) or extract the file at that location (ie, the video file)?
Re: Extracting the exact file location
Quote:
Originally Posted by jmsrickland
Anyway exactly what do you mean by I want to extract that actual file location.? Are you asking how to extract the file location (ie, the URL) or extract the file at that location (ie, the video file)?
I want to extract the video file location...which is
http://www553.megavideo.com/files/e4...dc5f764013a62/
for that player url.
I have known that video file by sniffing ports.
So, I think it can be done with vb too.
Re: Extracting the exact file location
Well, so far I haven't been able to extract that URL but I did download the video if that is what you want in the end.
Re: Extracting the exact file location
i was actually redirected to the above link
which shows with this code, where web1 is a webbrowser control
vb Code:
web1.Navigate2 "http://www.megavideo.com/v/MXHZ5WG2c5ee6478859e6b933a0ad48e8ebc105f.7886382642.0"
Do While web1.Busy
DoEvents
Loop
MsgBox web1.LocationURL
Re: Extracting the exact file location
Quote:
Originally Posted by jmsrickland
Well, so far I haven't been able to extract that URL but I did download the video if that is what you want in the end.
You downloaded from the link I gave in first post?
If so then it has to be because its direct link.
What I aim is to find the video file location from player url which is (following) through vb program.
http://www.megavideo.com/v/MXHZ5WG2c...f.7886382642.0
or you can say http://wwwstatic.megavideo.com/ep_gr...2&u=7886382642 too because first one redirects here.
Re: Extracting the exact file location
Well, If i divide the whole problem into pieces.
Then first thing is to monitor the network traffic on pc which ports are receiving data. Then I would be able to filter those ports which are receiving flv/video content then its source can be identified and more details can be found.
So far I have worked on monitor network traffic using winsock control but I think it has not the capability to monitor the files details across the ports.
Re: Extracting the exact file location
did you try the code i posted?
though it would have been better to use the readystate, rather than busy properties of the webbrowser control
Re: Extracting the exact file location
Quote:
Originally Posted by westconn1
did you try the code i posted?
though it would have been better to use the readystate, rather than busy properties of the webbrowser control
Actually I want to know the flv file location which plays in player. While your codes shows player url. :)
Please read my first post.
Re: Extracting the exact file location
Quote:
Originally Posted by Peon
Actually I want to know the flv file location which plays in player. While your codes shows player url. :)
Please read my first post.
Can I simply remove the which plays in player part and take it as you mean Actually I want to know the flv file location?
All you want is the location of where the FLV file is.
Re: Extracting the exact file location
Quote:
Originally Posted by jmsrickland
Can I simply remove the which plays in player part and take it as you mean Actually I want to know the flv file location?
All you want is the location of where the FLV file is.
yes. :)
Re: Extracting the exact file location
OK, so what you want is to be able to extract the below URL.
http://www553.megavideo.com/files/e4...dc5f764013a62/
And this URL is not visible at first when you go here:
http://www.megavideo.com/v/MXHZ5WG2c...f.7886382642.0
which is the URL of the player and not the URL of the actual video file.
Re: Extracting the exact file location
Quote:
Originally Posted by jmsrickland
yes of course. :)
Re: Extracting the exact file location
It seems that westconn1's post #9 solves your request. I tried that URL and it appeared that it took me directly to the video site
Re: Extracting the exact file location
No that code gives player url address (which is redirected one)
but not video file link which is
http://www553.megavideo.com/files/e4...dc5f764013a62/