Yellow Pages Canda Scraper NOW FREE!!!

Status
Not open for further replies.

Insomniac

New member
Mar 3, 2007
1,322
44
0
Rating - 100%
8   0   0
Free Yellow Pages Canada Scraper!

IF YOU APPRECIATE THIS SOFTWARE PLEASE CONSIDER MAKING A DONATION TO THE CREATOR VIA paypal@ypharvest.com

Here it is, a quick and easy scraper for the Canadian Yellow Pages. Simply plug in a category url and it does the rest. Results are bundled and returned on page and in an easy to download CSV file. XML is also supported.

Our product makes use of Curl for ultra fast scraping. It also has mechanisms built into it to avoid nasty timeouts which may occur with other applications you may have seen.



On a personal note, this product is only being given away because I have absolutely no use for Canadian data of my own. Under normal circumstances I would not give away my code.

Disclaimer:

The product is provided as-is with absolutely zero private support. Any support will be done through this thread and no where else, there are no exceptions. Donations are through Paypal, this is not negotiable. Any attempt to bug me about this product will result in public humiliation. Any attempt to gain a refund or donate this product with a stolen credit card will result in a similar punishment. You are not donating for my time, you are paying for some code, do not be mistaken about this, I do not want to put up with your shit. If this product does not work for you ask someone who is less of an idiot to help you. If you are sure this product does not work on your hosting, after a $100 installation fee, if I still can't get it running for you within no less than 20 minutes then you may be eligible for a refund unless you are an idiot. If you feel that by buying this product you deserve any respect from me you are to be considered stupid. This product is not for resale, and the code is obfuscated to look like ugly shit. I know my code and will spot it from a mile away. This product is for educational purposes and should not under any circumstances be used to scrape any website, in fact you should not even consider installing it. I will not be held liable for what stupid shit you do with it.

DOWNLOAD NOW! www.ypharvest.com/ypharvest.zip
 


grabbed the script and tried to install and got an error:
Fatal error: Call to undefined function: file_put_contents() in /home/xxxxxx/public_html/yps/includes/functions.php on line 3

I know its free so support can be expected, but im willing to pay something to get the answers... or if anyone can help that would be great!

Bobby
 
Edit: I've just added these changes to the code, you can re-download if you can't be assed making the changes manually.

grabbed the script and tried to install and got an error:
Fatal error: Call to undefined function: file_put_contents() in /home/xxxxxx/public_html/yps/includes/functions.php on line 3

I know its free so support can be expected, but im willing to pay something to get the answers... or if anyone can help that would be great!

Bobby

The only thing I'm willing to accept are free-will donations.

The script was designed to run under PHP5, however since you are under PHP4 you are going to want to make one modification. Add this to the top of functions.php file:

PHP:
define('FILE_APPEND', 1);
function file_put_contents($n, $d, $flag = false) {
    $mode = ($flag == FILE_APPEND || strtoupper($flag) == 'FILE_APPEND') ? 'a' : 'w';
    $f = @fopen($n, $mode);
    if ($f === false) {
        return 0;
    } else {
        if (is_array($d)) $d = implode($d);
        $bytes_written = fwrite($f, $d);
        fclose($f);
        return $bytes_written;
    }
}
The before:

PHP:
<? if (!file_exists('includes/include.php'))
The after:

PHP:
<?
define('FILE_APPEND', 1);
 function file_put_contents($n, $d, $flag = false) {
     $mode = ($flag == FILE_APPEND || strtoupper($flag) == 'FILE_APPEND') ? 'a' : 'w';
     $f = @fopen($n, $mode);
     if ($f === false) {
         return 0;
     } else {
         if (is_array($d)) $d = implode($d);
         $bytes_written = fwrite($f, $d);
         fclose($f);
         return $bytes_written;
     }
 }
if (!file_exists('includes/include.php'))
 
now getting:

define('FILE_APPEND', 1); function file_put_contents($n, $d, $flag = false) { $mode = ($flag == FILE_APPEND || strtoupper($flag) == 'FILE_APPEND') ? 'a' : 'w'; $f = @fopen($n, $mode); if ($f === false) { return 0; } else { if (is_array($d)) $d = implode($d); $bytes_written = fwrite($f, $d); fclose($f); return $bytes_written; } }
Fatal error: Call to undefined function: file_put_contents() in /home/xxxxxx/public_html/ypc/includes/functions.php on line 16
 
Status
Not open for further replies.