Posted By

cdog on 04/21/11


Tagged

grabber redtube


Versions (?)

Simple Redtube Video Url Grabber


 / Published in: PHP
 

URL: http://onitindustries.com

Had to update a clients script to grab redtube videos.

  1. <?php
  2.  
  3. $page = @implode ('', file('http://redtube.com/16898')); // page html
  4. preg_match("/hashlink\=(.*?)\&/si", $page, $link); // find hashlink
  5. $filelink = rawurldecode($link[1]); // decode hashlink
  6.  
  7. ?>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: bigd on March 7, 2014

Hi,

Does this code export the exact video link in MP4? If so, please contact me, i have a little job for you if you'd like.

You need to login to post a comment.