From 785452873f0ee0a27fc157b482b7551560f0282d Mon Sep 17 00:00:00 2001 From: lolcat Date: Tue, 7 Nov 2023 08:04:56 -0500 Subject: fix typo --- scraper/facebook.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scraper/facebook.php') diff --git a/scraper/facebook.php b/scraper/facebook.php index 7bd576b..395a863 100644 --- a/scraper/facebook.php +++ b/scraper/facebook.php @@ -9,6 +9,9 @@ class facebook{ include "lib/nextpage.php"; $this->nextpage = new nextpage("fb"); + + include "lib/proxy_pool.php"; + $this->proxy = new proxy_pool("facebook"); } public function getfilters($page){ @@ -104,6 +107,8 @@ class facebook{ 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