Compare commits

..

3 Commits

Author SHA1 Message Date
Mozi
7ce96c0cbc
Merge 8503b2b62c into f919729538 2024-11-22 16:11:59 +00:00
Mozi
8503b2b62c minor style changes 2024-11-22 16:11:13 +00:00
Mozi
2aeebc40ea merge 'master' 2024-11-22 16:08:04 +00:00

View File

@ -5,7 +5,6 @@ from ..utils import extract_attributes, smuggle_url
class DrTalksIE(InfoExtractor): class DrTalksIE(InfoExtractor):
_VALID_URL = r'https?://event\.drtalks\.com/(?P<id>.+/[^/]+)/?' _VALID_URL = r'https?://event\.drtalks\.com/(?P<id>.+/[^/]+)/?'
_TESTS = [{ _TESTS = [{
'url': 'https://event.drtalks.com/reversing-heart-disease-summit/free-access-day-1', 'url': 'https://event.drtalks.com/reversing-heart-disease-summit/free-access-day-1',
'info_dict': { 'info_dict': {
@ -49,5 +48,5 @@ class DrTalksIE(InfoExtractor):
player_attrs['data-playlist-id']), {'source_url': url}) player_attrs['data-playlist-id']), {'source_url': url})
return self.url_result( return self.url_result(
bc_url, BrightcoveNewIE.ie_key(), video_id, self._og_search_title(webpage), bc_url, BrightcoveNewIE, video_id, self._og_search_title(webpage),
url_transparent=True, thumbnail=self._og_search_thumbnail(webpage)) url_transparent=True, thumbnail=self._og_search_thumbnail(webpage))