Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
OmairXcluesiv committed Feb 3, 2017
1 parent e18a89a commit 8c2f0b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scraper.php
Expand Up @@ -59,7 +59,8 @@ function html2text($Document) {
$product_price = preg_replace(array('"<a href(.*?)>"', '"</a>"'), array('',''), $m[$i]);
//echo "Product Title" . $product_title . "<br>";
echo "Product Price" . $product_price . "<br>";
return preg_replace($Rules, $Replace, $r[$i]);
echo preg_replace($Rules, $Replace, $r[$i]);
echo html2text($r[$i]) ;


}
Expand Down

0 comments on commit 8c2f0b6

Please sign in to comment.