From 785452873f0ee0a27fc157b482b7551560f0282d Mon Sep 17 00:00:00 2001 From: lolcat Date: Tue, 7 Nov 2023 08:04:56 -0500 Subject: fix typo --- scraper/pinterest.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scraper/pinterest.php') 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); -- cgit v1.2.3