mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-14 14:55:06 +02:00
LORDN script improvement
This commit is contained in:
parent
c681d32977
commit
d3b3ebb6ed
2 changed files with 60 additions and 27 deletions
|
@ -23,7 +23,7 @@ $ch = curl_init();
|
|||
curl_setopt($ch, CURLOPT_URL, $csv_url);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
|
||||
$userAgent = 'Namingo Registry/0.5 (+https://namingo.org)';
|
||||
$userAgent = 'Namingo Registry/1.0 (+https://namingo.org)';
|
||||
curl_setopt($ch, CURLOPT_USERAGENT, $userAgent);
|
||||
$csv_data = curl_exec($ch);
|
||||
if (curl_errno($ch)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue