summaryrefslogtreecommitdiff
path: root/scraper/pinterest.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-11-07 08:04:56 -0500
committerlolcat <will@lolcat.ca>2023-11-07 08:04:56 -0500
commit785452873f0ee0a27fc157b482b7551560f0282d (patch)
tree4c70e240031ed3868425ca683c83ebfd378a9159 /scraper/pinterest.php
parent64b090ee058953aed2246967332c7f0b6623cd8f (diff)
fix typo
Diffstat (limited to 'scraper/pinterest.php')
-rw-r--r--scraper/pinterest.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/scraper/pinterest.php b/scraper/pinterest.php
index 2bb5b71..37473a1 100644
--- a/scraper/pinterest.php
+++ b/scraper/pinterest.php
@@ -6,6 +6,9 @@ class pinterest{
include "lib/nextpage.php";
$this->nextpage = new nextpage("pinterest");
+
+ include "lib/proxy_pool.php";
+ $this->proxy = new proxy_pool("pinterest");
}
public function getfilters($page){
@@ -44,6 +47,8 @@ class pinterest{
curl_setopt($curlproc, CURLOPT_SSL_VERIFYPEER, true);
curl_setopt($curlproc, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($curlproc, CURLOPT_TIMEOUT, 30);
+
+ $this->proxy->assign_proxy($curlproc);
$data = curl_exec($curlproc);