[^<]*


', page): return self.playlist_result([self.url_result(vid) for vid in vids], video_id) title = self._html_search_regex( r'

[^<]*

([^<]+)

', page, 'title') return { '_type': 'url', 'id': video_id, 'url': vids[0], 'title': title, } class GoGoAnimeSearchIE(InfoExtractor): IE_NAME = 'gogoanime:search' IE_DESC = 'GoGoAnime Search' _VALID_URL = r'http://www\.gogoanime\.com/.*\?s=(?P[^&]*)' _TEST = { 'url': 'http://www.gogoanime.com/?s=bokusatsu', 'info_dict': { 'id': 'bokusatsu' }, 'playlist_count': 6 } def _real_extract(self, url): playlist_id = self._match_id(url) webpage = self._download_webpage(url, playlist_id) posts = re.findall( r'
[^<]*]*>[^<]*