src/MalScraper/Model/User/UserModel.php
private function getSns()
    {
        $sns = [];
        $sns_area = $this->_parser->find('.container-left .user-profile', 0);
        $sns_area = $sns_area->find('.user-profile-sns', 0);
        foreach ($sns_area->find('a') as $each_sns) {
            if ($each_sns->class != 'di-ib mb8') {
                $sns[] = $each_sns->href;
            }
        }

        return $sns;
    }
private function getSns()
    {
        $sns = [];
        $sns_area = $this->_parser->find('.container-left .user-profile', 0);
        $sns_area = $sns_area->find('.user-profile-sns', 0);
        foreach ($sns_area->find('a') as $each_sns) {
            if ($each_sns->class != 'di-ib mb8') {
                $sns[] = $each_sns->href;
            }
        }

        return $sns;
    }
private function getSns ( ) { $ sns = [ ] ; $ sns_area = $ this -> _parser -> find ( '.container-left .user-profile' , 0 ) ; $ sns_area = $ sns_area -> find ( '.user-profile-sns' , 0 ) ; foreach ( $ sns_area -> find ( 'a' ) as $ each_sns ) { if ( $ each_sns -> class != 'di-ib mb8' ) { $ sns [ ] = $ each_sns -> href ; } } return $ sns ; }
Get user sns.

@return array
Get user sns .