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/facebook.php | |
| parent | 64b090ee058953aed2246967332c7f0b6623cd8f (diff) | |
fix typo
Diffstat (limited to 'scraper/facebook.php')
| -rw-r--r-- | scraper/facebook.php | 5 |
1 files changed, 5 insertions, 0 deletions
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); |
