Upgrade yt_dlp and download script
This commit is contained in:
@@ -4,6 +4,7 @@ from .common import InfoExtractor
|
||||
|
||||
|
||||
class CloserToTruthIE(InfoExtractor):
|
||||
_WORKING = False
|
||||
_VALID_URL = r'https?://(?:www\.)?closertotruth\.com/(?:[^/]+/)*(?P<id>[^/?#&]+)'
|
||||
_TESTS = [{
|
||||
'url': 'http://closertotruth.com/series/solutions-the-mind-body-problem#video-3688',
|
||||
@@ -14,7 +15,7 @@ class CloserToTruthIE(InfoExtractor):
|
||||
'title': 'Solutions to the Mind-Body Problem?',
|
||||
'upload_date': '20140221',
|
||||
'timestamp': 1392956007,
|
||||
'uploader_id': 'CTTXML'
|
||||
'uploader_id': 'CTTXML',
|
||||
},
|
||||
'params': {
|
||||
'skip_download': True,
|
||||
@@ -28,7 +29,7 @@ class CloserToTruthIE(InfoExtractor):
|
||||
'title': 'How do Brains Work?',
|
||||
'upload_date': '20140221',
|
||||
'timestamp': 1392956024,
|
||||
'uploader_id': 'CTTXML'
|
||||
'uploader_id': 'CTTXML',
|
||||
},
|
||||
'params': {
|
||||
'skip_download': True,
|
||||
@@ -68,7 +69,7 @@ class CloserToTruthIE(InfoExtractor):
|
||||
entry_ids.add(entry_id)
|
||||
entries.append({
|
||||
'_type': 'url_transparent',
|
||||
'url': 'kaltura:%s:%s' % (partner_id, entry_id),
|
||||
'url': f'kaltura:{partner_id}:{entry_id}',
|
||||
'ie_key': 'Kaltura',
|
||||
'title': mobj.group('title'),
|
||||
})
|
||||
@@ -82,7 +83,7 @@ class CloserToTruthIE(InfoExtractor):
|
||||
return {
|
||||
'_type': 'url_transparent',
|
||||
'display_id': display_id,
|
||||
'url': 'kaltura:%s:%s' % (partner_id, entry_id),
|
||||
'url': f'kaltura:{partner_id}:{entry_id}',
|
||||
'ie_key': 'Kaltura',
|
||||
'title': title
|
||||
'title': title,
|
||||
}
|
||||
|
Reference in New Issue
Block a user