У Аперо проблемы с DNS, HTTPS версия надёжнее
This commit is contained in:
parent
65a9dde965
commit
820def53a9
|
@ -7,7 +7,7 @@ class Apero extends Source {
|
||||||
public $title = "Apero";
|
public $title = "Apero";
|
||||||
protected function parse() {
|
protected function parse() {
|
||||||
$formatter = new \IntlDateFormatter( 'ru', \IntlDateFormatter::LONG, \IntlDateFormatter::NONE );
|
$formatter = new \IntlDateFormatter( 'ru', \IntlDateFormatter::LONG, \IntlDateFormatter::NONE );
|
||||||
$text = $this->get_text('http://apero.ru/');
|
$text = $this->get_text('https://apero.ru/');
|
||||||
$this->dom->loadStr($text, []);
|
$this->dom->loadStr($text, []);
|
||||||
unset($text);
|
unset($text);
|
||||||
$games = $this->dom->find('.tabled-game-block');
|
$games = $this->dom->find('.tabled-game-block');
|
||||||
|
|
Reference in a new issue