Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
flowscrap committed Apr 1, 2015
1 parent c057721 commit 33b93f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.php
Expand Up @@ -19,8 +19,8 @@

$phoneId = str_replace('javascript:getPhoneNumber("http://www2.leboncoin.fr", ', '', $phoneLink->href);
$phoneId = str_replace(')', '', $phoneId);
var_dump($phoneId);
$url = "http://www2.leboncoin.fr/ajapi/get/phone?list_id=". $phoneId;
var_dump($url);
$jsonImg = scraperwiki::scrape($url);
var_dump($jsonImg);
if ($jsonImg != '""') {
Expand Down

0 comments on commit 33b93f5

Please sign in to comment.