[GET] ExtremeTube auto commenter - iMacros

phpfail

Regular Member
Joined
Aug 21, 2011
Messages
236
Reaction score
107
I made this little code to auto comment videos on extremetube.com, I've made some money with it but not really using it anymore.

Code to be used with Firefox iMacros
Code:
VERSION BUILD=7401110 RECORDER=FXTAB T=1
SET !ERRORIGNORE YES
SET !ERRORCONTINUE YES 
SET !EXTRACT_TEST_POPUP NO
SET !TIMEOUT_STEP 0
CMDLINE !DATASOURCE vids.txt
SET !DATASOURCE_COLUMNS 1000
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO={{!COL1}}
TAG POS=1 TYPE=INPUT:TEXT ATTR=ID:comment_content CONTENT=YOUR<SP>COMMENT<SP>link(dot)com
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=VALUE:Submit
WAIT SECONDS=7

and I also coded a PHP link scraper that will scrape the video urls from any url on the site.

Code:
<?php
$p = $_GET['p'];

// url of page you wish to scrape videos from
$url = "http://www.extremetube.com/videos?o=bw&page=$p";

$data = file_get_contents($url);
    preg_match_all("/<a href=\"(.*?)\" onmouseover=\"/",$data,$match);

foreach ($match[1] as $key => $value) 
      { 
           echo $value;
           echo "<br>";
     }
?>
<br>
<br>

<a href="pink2.php?p=<? echo $p+1;?>">next page</a>

Upload it to your hosting, then open it as domain/scrape.php?p=1, then click next to go thru the pages and copy the urls.

Hope someone gets some use out of this!
 
Back
Top