Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    use LWP::Simple;
    use URI::Escape;
    
  2. or download this
    # MEncoder location
    my $mencoder = "c:\\mplayer\mencoder.exe";
    
  3. or download this
    # Get the Port URL
    print "paste in a URL and Press Enter. \n% ";
    ...
    
    # Scrape the page
    my $response = get($url);
    
  4. or download this
    # find the video file
    While ($response =~ m!videoURL\u003d(.*?)\\"!gis) {
    ...
        $videoURl =~ s!\\u003d!=!gs;
    
    # Find the site filename
    
  5. or download this
    # make sure downloaded file is there
    if (-e $filename) {
    ...
        print "Converting to $newfilename...\n";
    
    # use MEncoder to convert to another file (rename intruder's site)