mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 00:01:54 +01:00
Compare commits
1 Commits
7ce96c0cbc
...
ddc4140272
Author | SHA1 | Date | |
---|---|---|---|
|
ddc4140272 |
|
@ -5,6 +5,7 @@ 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': {
|
||||||
|
@ -48,5 +49,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, video_id, self._og_search_title(webpage),
|
bc_url, BrightcoveNewIE.ie_key(), 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))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user