DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   PHP (http://www.daniweb.com/forums/forum17.html)
-   -   My WebBot (http://www.daniweb.com/forums/thread175862.html)

progurammaar Feb 15th, 2009 5:42 pm
My WebBot
 
2 Attachment(s)
Hi I've recently started studying cURL and am having problem with the following code that i've written,

<?php

include("LIB_parse.php");    # Include parse library
include("LIB_http.php");    # Include cURL library

$web_page = http_get($target="http://rapidshare-search-engine.com/index-s_submit=Search&sformval=1&s_type=0&what=1&s=billu&start=0.html", $referer="http://rapidshare-search-engine.com/");
$meta_tag_array = parse_array($web_page['FILE'], "href=", ">");

for($xx=0; $xx<count($meta_tag_array); $xx++)
        {
               
    $tag= return_between($meta_tag_array[$xx],"href=\"","\">",EXL)."\n";
        ?>
        <a href=<?php echo $tag ?> >hh</a>
    <?php
        }
?>

Now what i did was searched for 'billu' on www.rapidshare-search-engine.com and i got the url = http://rapidshare-search-engine.com/...u&start=0.html, which i used in $target in my http_get function(inside LIB_http.php file)

now the problem is that this is not running correctly, the code is not returning me all the links that i wanted.
I want all the rapidshare links to be displayed(as they are displayed on the rapidshare-search-engine.com site)
Attachment 9247
Attachment 9248

almostbob Feb 15th, 2009 5:47 pm
Re: My WebBot
 
You are really asking in public for helpo in stealing somebody else's content?
Why not ask at rapidshare?

because they dont want you stealing their property
Quote:

Originally Posted by rapidshare terms of use
The layout, design, files, images and all other contents of the Rapidshare-search-engine.com web site are owned by Rapidshare-search-engine.com and are protected by national and international intellectual property laws, conventions and treaties.
The information contained within the Rapidshare-search-engine.com databases belongs to the respective owners of Rapidshare-search-engine.com, and is also protected by national and international intellectual property laws, conventions and treaties.
The information contained in the Rapidshare-search-engine.com web site and databases may not otherwise be used, copied, distributed, performed, sublicensed, modified, rented, altered, reverse engineered or recompiled in any manner without the express written consent of its owner.


progurammaar Feb 15th, 2009 6:33 pm
Re: My WebBot
 
ok i get it....but rapidshare.com content's are not protected by laws, are they???

so in general can i create a search engine similiar to rapid-share-search-engine.com

if yes how??

progurammaar Feb 16th, 2009 9:03 am
Re: My WebBot
 
hey guys plz reply, is it that big a problem??

one more thing, how do we crawl the internet automatically, i mean without entering individual site name every time.

secondly, i want to create an aggregate site just for fun or rather test my abilities, so can you please suggest some ideas which will not have any copyright issues.....

Millit Feb 17th, 2009 9:13 am
Re: My WebBot
 
I can recommend you another rapidshare search engine - http://rapid4me.com/ . Personally in my case it is very helpful!


All times are GMT -4. The time now is 2:41 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC