diff --git a/youtube_dl/extractor/ibm_think.py b/youtube_dl/extractor/ibm_think.py index 815f29d73..b6a45403f 100644 --- a/youtube_dl/extractor/ibm_think.py +++ b/youtube_dl/extractor/ibm_think.py @@ -4,13 +4,13 @@ from __future__ import unicode_literals import re from .common import InfoExtractor -from .ustream import UstreamIE +from .generic import GenericIE class IbmThinkIE(InfoExtractor): IE_DESC = 'IBM Think Videos' IE_NAME = 'IBMThink' - _VALID_URL = r'https?://(?:www\.)?ibm\.com/events/think/watch/replay/(?P[0-9]+)/?' + _VALID_URL = r'https?://(?:www\.)?ibm\.com/events/think/watch/(playlist/)?(\d*/)?replay/(?P[0-9]+)/?' _TESTS = [{ 'url': 'https://www.ibm.com/events/think/watch/replay/113734399/', 'md5': '0a3f1c81c58aacbbb36e292a1c1f9690', @@ -29,7 +29,7 @@ class IbmThinkIE(InfoExtractor): video_id = self._match_id(url) webpage = self._download_webpage(url, video_id) ustream_url = self._html_search_regex(r'', webpage)] + entries = [self.url_result(m, GenericIE.ie_key()) for m in re.findall(r'', webpage)] title = self._html_search_regex(r'(?:.+?)\s\|\s(?:.+?)\s\|\s(.+?)', webpage, 'title') description = self._og_search_description(webpage) return self.playlist_result(entries, playlist_id, title, description)