minor style changes

This commit is contained in:
Mozi 2024-11-22 16:11:12 +00:00
parent 2aeebc40ea
commit 8503b2b62c

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))