aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/openload.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-12 01:39:26 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-04-12 05:32:50 +0530
commitf9934b96145af8ac5dfdcbf684827aeaea9912a7 (patch)
tree0a00b551be555ed8aa70eac863cc83d335dc7b8a /yt_dlp/extractor/openload.py
parentcfb0511d822b39748c5a64dfe86b61ff8d5af176 (diff)
downloadhypervideo-pre-f9934b96145af8ac5dfdcbf684827aeaea9912a7.tar.lz
hypervideo-pre-f9934b96145af8ac5dfdcbf684827aeaea9912a7.tar.xz
hypervideo-pre-f9934b96145af8ac5dfdcbf684827aeaea9912a7.zip
[cleanup] Mark some compat variables for removal (#2173)
Authored by fstirlitz, pukkandan
Diffstat (limited to 'yt_dlp/extractor/openload.py')
-rw-r--r--yt_dlp/extractor/openload.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/openload.py b/yt_dlp/extractor/openload.py
index fe4740aae..c19d04900 100644
--- a/yt_dlp/extractor/openload.py
+++ b/yt_dlp/extractor/openload.py
@@ -8,7 +8,6 @@ import tempfile
from ..compat import (
compat_urlparse,
- compat_kwargs,
)
from ..utils import (
check_executable,
@@ -158,7 +157,7 @@ class PhantomJSwrapper(object):
cookie['rest'] = {'httpOnly': None}
if 'expiry' in cookie:
cookie['expire_time'] = cookie['expiry']
- self.extractor._set_cookie(**compat_kwargs(cookie))
+ self.extractor._set_cookie(**cookie)
def get(self, url, html=None, video_id=None, note=None, note2='Executing JS on webpage', headers={}, jscode='saveAndExit();'):
"""