added mwmbl scraper
This commit is contained in:
parent
8944ca6894
commit
a20d4de1e4
6 changed files with 182 additions and 3 deletions
|
@ -538,8 +538,7 @@ class google{
|
|||
$url .= "?" . $get;
|
||||
}
|
||||
|
||||
//curl_setopt($curlproc, CURLOPT_URL, $url);
|
||||
curl_setopt($curlproc, CURLOPT_URL, "https://ifconfig.co");
|
||||
curl_setopt($curlproc, CURLOPT_URL, $url);
|
||||
|
||||
curl_setopt($curlproc, CURLOPT_ENCODING, ""); // default encoding
|
||||
curl_setopt($curlproc, CURLOPT_HTTPHEADER, $headers);
|
||||
|
@ -560,7 +559,6 @@ class google{
|
|||
}
|
||||
|
||||
curl_close($curlproc);
|
||||
echo $data;
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue