Removed superflous non capturing groups

This commit is contained in:
Parth Verma 2018-04-30 19:54:45 +05:30
parent 93041d4cec
commit 17bfdc7404

View File

@ -50,6 +50,6 @@ class IbmThinkPlaylistIE(InfoExtractor):
playlist_id = self._match_id(url)
webpage = self._download_webpage(url, playlist_id)
entries = [self.url_result(m, GenericIE.ie_key()) for m in re.findall(r'<a href="(.+?)" class="(?:video-list-item)?\s?(?:js-video-list-item)?">', webpage)]
title = self._html_search_regex(r'<title>(?:.+?)\s\|\s(?:.+?)\s\|\s(.+?)</title>', webpage, 'title')
title = self._html_search_regex(r'<title>.+?\s\|\s.+?\s\|\s(.+?)</title>', webpage, 'title')
description = self._og_search_description(webpage)
return self.playlist_result(entries, playlist_id, title, description)