aboutsummaryrefslogtreecommitdiffstats
path: root/scraper/pinterest.php
diff options
context:
space:
mode:
Diffstat (limited to 'scraper/pinterest.php')
-rw-r--r--scraper/pinterest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/scraper/pinterest.php b/scraper/pinterest.php
index 4188bce..c6bdf38 100644
--- a/scraper/pinterest.php
+++ b/scraper/pinterest.php
@@ -297,6 +297,8 @@ class pinterest{
throw new Exception("Failed to decode JSON");
}
+ print_r($json);
+
$out = [
"status" => "ok",
"npt" => null,
@@ -426,7 +428,7 @@ class pinterest{
]
],
"url" =>
- $item["link"] === null ?
+ !isset($item["link"]) ?
"https://ca.pinterest.com/pin/" . $item["id"] :
$item["link"]
];
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage