Jump to content

Megavideo Downloader


Zimmer

Recommended Posts

In what I would call a twisted of irony and rather amusing about two weeks after I made this

http://paste.pocoo.org/show/539780/

a downloader script for Megavideo.com videos it is shutdown :) oops ;)

Why I made it? Well it was fun and no existing tool was able to download a video past 72 minutes (they cut if off by ip).

All in all it was fun and interesting to figured out why merging the two flv files together didn't work (a flash header was in the way)

Link to comment
Share on other sites

Very impressive, good work.

Link to comment
Share on other sites

Very impressive, good work.

Thanks

Nice option for verbosity, i wouldn't have thought to include that...

You said you could not download a video past 72 minutes because they cut it off based upon IP. How did you get around it? I must be missing it somewhere in the code.

This is how megavideo's 72 minute limit worked.

1. You connected to their servers and downloaded a video

2. After downloading 72 minutes of video (figured out by bitrate and amount downloaded) they would close the connection.

3, When they stopped the connection they would out at the end of the flv file a onCuePoint header that when the flash player would reach that point it would know oh ok this is where the 72 minutes was reached (instead of just the end of the file, in which case it could just be the end of the file)

4. You then had to wait 72 minutes before they would allow that ip address to reconnect (or you could sign up for a premium account (cost money this is why they are being suited they made money off of mostly copyrighted uploads)).

So how to get around the block, either change the ip address (either restart you router get a new one from your ISP or use a proxy)

Whatever way you got around the limit (changed ip address or wait 72 minutes) you would know have the first 72 minutes of video if you just started downloading again you would again have the first 72 minutes if video and be stopped. However my program you just used the argument --resume and the file of the first 72 minutes and my program calculated the size in bytes where it left off and resumed from their. Now once it had done that it then removed the onCuePoint header and removed any extra flv file headers (from you resuming it put an flv header in their).

They it took the files and merged them and saved it and exited.

Edited by Zimmer
Link to comment
Share on other sites

I like your mind and this is how a true hacker works, not just by leeching off other people's work. But trying his own means/ideas/methods to overcome any obstacle. Your work deserves credit, keep it up.

Link to comment
Share on other sites

I like your mind and this is how a true hacker works, not just by leeching off other people's work. But trying his own means/ideas/methods to overcome any obstacle. Your work deserves credit, keep it up.

Thanks you very much I appreciate it :-)

Ohh I was under the impression that somehow you got around their IP filter. So you figure the ip out yourself/ or wait 72 minutes. Have you considered writing your program to interface with Tor? Maybe after the first 72 minutes it changes IP's and continues downloading from a alternate address.

I did at one point think about that but it is pointless now, just go to http://www.megavideo.com/ and you will see why :-). Also there really is no way to "get around" ip filtering except change your ip address but ya I was thinking of adding proxy support.

Link to comment
Share on other sites

I did at one point think about that but it is pointless now, just go to http://www.megavideo.com/ and you will see why :-). Also there really is no way to "get around" ip filtering except change your ip address but ya I was thinking of adding proxy support.

Some service providers will know if you are using a proxy server, so if you try using TOR it may not work. So by acquiring a new IP address from your ISP, will circumvent that.

Edited by Infiltrator
Link to comment
Share on other sites

  • 3 months later...

In what I would call a twisted of irony and rather amusing about two weeks after I made this

http://paste.pocoo.org/show/539780/

a downloader script for Megavideo.com videos it is shutdown :) oops ;)

Why I made it? Well it was fun and no existing tool was able to download a video past 72 minutes (they cut if off by ip).

All in all it was fun and interesting to figured out why merging the two flv files together didn't work (a flash header was in the way)

fireBwall's SaveFlashVideo module will save megavideo streams I believe, but you actually have to buffer them in a browser first. Its been a while since I tested it on megavideo, but I know it works on stagevu, youtube, redtube, and various other streaming sites. As of right now, the only sites I know SaveFlashVideo doesn't work for is like stuff like Hulu and Netflix. I'm the head developer on the project, and its at firebwall.com if you want to check it out.

-bwall

Link to comment
Share on other sites

  • 1 month later...

Cool script to bad it shut down... :( I miss megaupload a sad day when half (I was taking a GUESS ;) ) the internets links become broken and lead you to a scary fbi page.... ;(

Edited by ~*L33T_NiNj4*~
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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