NetBuilders

You are welcome to look around. You will have to register before you can post a message, create a blog, chat live with our members, or add a site to our directory.



Advertise With Us

Reply Hosting Tropolis - Ultimate Web Hosting Discussion
Old 29 September, 2009, 22:58 PM   #1 (permalink)
Newbie Net Builder
 
Killswitch's Avatar
 
Location: Cyberland
iTrader: (0)
Thanked 9 Times in 5 Posts
Posts: 42
$NetBucks: 18
Join Date: Jul 2009
Last Online: Yesterday 18:19 PM
Send a message via ICQ to Killswitch Send a message via AIM to Killswitch Send a message via MSN to Killswitch Send a message via Yahoo to Killswitch
Arrow Class to scrape Pornhub, Keezmovies, TNAFlix, Extremetube, and RedTube for content!

Was bored the other day and was talking to someone and they mentioned most tube scripts out there that allow embeding from all the big tubes scrapers were crap, so I wrote this class to scrape the tubes and give you all the information you need to start your own embed tube site!

It currently supports Pornhub.com, KeezMovies.com, ExtremeTube.com, RedTube.com and TNAFlix.com. I have plans on adding tons more sites to the lineup also with more features.

It will grab you the url of the video, title, thumbnail, and reconstructs the embed code and even allows you to set the width/height of the player in the class so you don't have 3 different player sizes when generated.

Will go as many pages deep as you want. If you wanna scrape the last 10 pages of porntube, go ahead it will do it.

Example usage, it's easy, and can be used with any script:
PHP Code:
<?php
$Scraper 
= new Scraper;
$Scraper->setParams('300x250');
$tubeData $Scraper->getData('Pornhub:10');
echo 
'<pre>'print_r($tubeData); echo '</pre>';
?>
What that will do is scrape Pornhub's last 10 pages and output an array of all the videos found with the embed player width/height set to 300px by 250px.

Another example:
PHP Code:
<?php
$Scraper 
= new Scraper;
$Scraper->setParams('300x250');
$Scraped = array('Pornhub' => $Scraper->getData('Pornhub:5'),
            
'Keezmovies' => $Scraper->getData('Keezmovies:5'),
            
'Extremetube' => $Scraper->getData('Extremetube:5'),
            
'Redtube' => $Scraper->getData('Redtube:5'),
            
'Tnaflix' => $Scraper->getData('Tnaflix:5'),
            );
$tubeData array_merge($Scraped['Pornhub'],
                   
$Scraped['Keezmovies'],
                   
$Scraped['Extremetube'],
                   
$Scraped['Redtube'],
                   
$Scraped['Tnaflix']
                   );
shuffle($tubeData);
foreach(
$tubeData as $videoData)
{
    
mysql_query('INSERT INTO DATABASE QUERY');
}
?>
That will build another array, merge them all together into 1 giant array, then shuffle them and insert them into your pre-existing database and you can have an instant tube site that will automatically update itself, just by setting a cron tab to run that code every minute/hour/day/week/whatever you want.

Price is $199.95 for the unencoded class. If you want a script built around it I'm open to discussion, or if you want it integrated into your pre-existing script I can do that also.

Currently I only accept Paypal as I have been very lazy about getting my documents in order for Epassporte for my account.

You can try out the class here:
LQD Scraper

*************************
You can contact me on AIM: fknvdscom or ICQ: 461013230
__________________
thatmusthurt.com | @thatmusthurt
  Reply With Quote
Old 10 January, 2010, 07:52 AM   #2 (permalink)
Unknown Net Builder
 
iTrader: (0)
Thanked 0 Times in 0 Posts
Posts: 1
$NetBucks: 2
Join Date: Jan 2010
Last Online: 10 January, 2010 07:52 AM
Default

hi the LQD Scraper link doesn't work... i was wondering if your script could be used to make something like http://www.swagflavor.com - i really like that site and i was hoping i coudl make one like that
  Reply With Quote
Old 10 January, 2010, 14:55 PM   #3 (permalink)
Newbie Net Builder
 
Killswitch's Avatar
 
Location: Cyberland
iTrader: (0)
Thanked 9 Times in 5 Posts
Posts: 42
$NetBucks: 18
Join Date: Jul 2009
Last Online: Yesterday 18:19 PM
Send a message via ICQ to Killswitch Send a message via AIM to Killswitch Send a message via MSN to Killswitch Send a message via Yahoo to Killswitch
Default

Hi Barney, please try again, it works for me, I do know some stuff doesn't work on it like Pornhub but that's due to them changing their design and me not updating the class yet as I'm gonna be rewriting it to get away from using regex and going to a dom class.

To answer your question, yes it can make it so you can have a site like that.
__________________
thatmusthurt.com | @thatmusthurt
  Reply With Quote
Reply

Bookmarks


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 00:40 AM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.1
vBAdvertise v1.0.0 Copyright ©2009, PixelFX Studios
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios