aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/brightcove.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-06-23 09:44:22 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-06-23 09:57:26 +0530
commit9809740ba5cc5daf53e690d104a37aa6545e53f9 (patch)
tree77a43dca6247d0ce1045cd81ad1b0c774028e9ff /yt_dlp/extractor/brightcove.py
parentf67baae17e76997c13d35f65f50be633106837e0 (diff)
downloadhypervideo-pre-9809740ba5cc5daf53e690d104a37aa6545e53f9.tar.lz
hypervideo-pre-9809740ba5cc5daf53e690d104a37aa6545e53f9.tar.xz
hypervideo-pre-9809740ba5cc5daf53e690d104a37aa6545e53f9.zip
[extractor, cleanup] Reduce direct use of `_downloader`
Diffstat (limited to 'yt_dlp/extractor/brightcove.py')
-rw-r--r--yt_dlp/extractor/brightcove.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/brightcove.py b/yt_dlp/extractor/brightcove.py
index 936c34e15..a5412897d 100644
--- a/yt_dlp/extractor/brightcove.py
+++ b/yt_dlp/extractor/brightcove.py
@@ -600,9 +600,9 @@ class BrightcoveNewIE(AdobePassIE):
account_id, player_id, embed, content_type, video_id = self._match_valid_url(url).groups()
policy_key_id = '%s_%s' % (account_id, player_id)
- policy_key = self._downloader.cache.load('brightcove', policy_key_id)
+ policy_key = self.cache.load('brightcove', policy_key_id)
policy_key_extracted = False
- store_pk = lambda x: self._downloader.cache.store('brightcove', policy_key_id, x)
+ store_pk = lambda x: self.cache.store('brightcove', policy_key_id, x)
def extract_policy_key():
base_url = 'http://players.brightcove.net/%s/%s_%s/' % (account_id, player_id, embed)