src/MalScraper/Model/Additional/VideoModel.php
private function getEpisode()
    {
        $episode = [];
        $episode_area = $this->_parser->find('.episode-video', 0);
        if ($episode_area) {
            foreach ($episode_area->find('.video-list-outer') as $v) {
                $temp = [];

                $link_area = $v->find('a', 0);
                $temp['episode'] = $this->getEpisodeTitle($link_area, 0);
                $temp['title'] = $this->getEpisodeTitle($link_area, 1);
                $temp['link'] = $link_area->href;

                $episode[] = $temp;
            }
        }

        return $episode;
    }
private function getEpisode()
    {
        $episode = [];
        $episode_area = $this->_parser->find('.episode-video', 0);
        if ($episode_area) {
            foreach ($episode_area->find('.video-list-outer') as $v) {
                $temp = [];

                $link_area = $v->find('a', 0);
                $temp['episode'] = $this->getEpisodeTitle($link_area, 0);
                $temp['title'] = $this->getEpisodeTitle($link_area, 1);
                $temp['link'] = $link_area->href;

                $episode[] = $temp;
            }
        }

        return $episode;
    }
private function getEpisode ( ) { $ episode = [ ] ; $ episode_area = $ this -> _parser -> find ( '.episode-video' , 0 ) ; if ( $ episode_area ) { foreach ( $ episode_area -> find ( '.video-list-outer' ) as $ v ) { $ temp = [ ] ; $ link_area = $ v -> find ( 'a' , 0 ) ; $ temp [ 'episode' ] = $ this -> getEpisodeTitle ( $ link_area , 0 ) ; $ temp [ 'title' ] = $ this -> getEpisodeTitle ( $ link_area , 1 ) ; $ temp [ 'link' ] = $ link_area -> href ; $ episode [ ] = $ temp ; } } return $ episode ; }
Get anime episode.

@return array
Get anime episode .