diff options
author | lolcat <will@lolcat.ca> | 2023-11-07 08:04:56 -0500 |
---|---|---|
committer | lolcat <will@lolcat.ca> | 2023-11-07 08:04:56 -0500 |
commit | 785452873f0ee0a27fc157b482b7551560f0282d (patch) | |
tree | 4c70e240031ed3868425ca683c83ebfd378a9159 /scraper/pinterest.php | |
parent | 64b090ee058953aed2246967332c7f0b6623cd8f (diff) |
fix typo
Diffstat (limited to 'scraper/pinterest.php')
-rw-r--r-- | scraper/pinterest.php | 5 |
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); |