Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jfretin committed Jun 23, 2014
1 parent a531e86 commit 3e02a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.php
Expand Up @@ -13,9 +13,9 @@
$dom->load($html);

$phoneLink = $dom->find("#phoneNumber a", 0);
var_dump($phoneLink);
if ($phoneLink->href != "") {
$jsonImg = scraperwiki::scrape("http://www2.leboncoin.fr/ajapi/get/phone?list_id=675699535");
var_dump($jsonImg);
if ($jsonImg != '""') {
$i = json_decode($jsonImg);
$src = $i->phoneUrl;
Expand Down

0 comments on commit 3e02a0b

Please sign in to comment.