Commit d8a8ed2c by san58

получение данных whois через pr-cy

1 parent b036aba8
<?php
namespace app\commands;
use yii;
use yii\console\Controller;
use yii\db\Expression;
use yii\helpers\Console;
use app\components\Collection;
use app\models\Host;
/**
* Парсинг запрещенных ресурсов в РФ.
*/
class WhoisController extends Controller
{
public $file = '';
public function beforeAction($action)
{
if (!parent::beforeAction($action)) {
return false;
}
return true;
}
public function options($actionID)
{
return ['count'];
}
public function optionAliases()
{
return ['c' => 'count'];
}
/**
* Парсинг запрещенных ресурсов в РФ.
*/
public function actionIndex()
{
}
}
\ No newline at end of file \ No newline at end of file
...@@ -6,6 +6,7 @@ return [ ...@@ -6,6 +6,7 @@ return [
'senderName' => 'Example.com mailer', 'senderName' => 'Example.com mailer',
'csv_url' => 'https://raw.githubusercontent.com/zapret-info/z-i/master/dump-00.csv', 'csv_url' => 'https://raw.githubusercontent.com/zapret-info/z-i/master/dump-00.csv',
'registrators_urls' => [ 'registrators_urls' => [
'https://2ip.ua/ru/services/information-service/domain-information' //'https://2ip.ua/ru/services/information-service/domain-information'
'https://www.cy-pr.com/tools/masswhois/'
] ]
]; ];
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!