|
-
Nov 7th, 2008, 02:56 PM
#1
Thread Starter
Addicted Member
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.
-
Nov 7th, 2008, 03:36 PM
#2
Re: Extracting the exact file location
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Nov 7th, 2008, 05:32 PM
#3
Thread Starter
Addicted Member
Re: Extracting the exact file location
what you mean?
Its a very popular site.. how you come up with scam site idea?
-
Nov 8th, 2008, 01:19 AM
#4
Re: Extracting the exact file location
i clicked the link, got like movie screen, clicked play, got many popups to gambling sites, no movie
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Nov 8th, 2008, 09:38 AM
#5
Thread Starter
Addicted Member
Re: Extracting the exact file location
 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.
-
Nov 8th, 2008, 09:58 AM
#6
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)?
-
Nov 8th, 2008, 10:18 AM
#7
Thread Starter
Addicted Member
Re: Extracting the exact file location
 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.
-
Nov 8th, 2008, 12:50 PM
#8
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.
-
Nov 8th, 2008, 04:54 PM
#9
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
Last edited by westconn1; Nov 8th, 2008 at 05:03 PM.
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Nov 8th, 2008, 06:49 PM
#10
Thread Starter
Addicted Member
Re: Extracting the exact file location
 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.
-
Nov 10th, 2008, 08:14 AM
#11
Thread Starter
Addicted Member
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.
-
Nov 10th, 2008, 03:19 PM
#12
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
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Nov 11th, 2008, 06:12 AM
#13
Thread Starter
Addicted Member
Re: Extracting the exact file location
 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.
-
Nov 11th, 2008, 02:03 PM
#14
Re: Extracting the exact file location
 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.
-
Nov 11th, 2008, 05:04 PM
#15
Thread Starter
Addicted Member
Re: Extracting the exact file location
 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.
-
Nov 13th, 2008, 01:15 AM
#16
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.
-
Nov 13th, 2008, 12:28 PM
#17
Thread Starter
Addicted Member
Re: Extracting the exact file location
 Originally Posted by jmsrickland
yes of course.
-
Nov 13th, 2008, 04:34 PM
#18
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
-
Nov 13th, 2008, 04:54 PM
#19
Thread Starter
Addicted Member
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/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|