]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/openload.py
[cleanup] Mark some compat variables for removal (#2173)
[yt-dlp.git] / yt_dlp / extractor / openload.py
index fe4740aaedb19a744ac3e08a4dec3113fda931ac..c19d04900f7cb16b2407c04dc24dcd75ce674d73 100644 (file)
@@ -8,7 +8,6 @@
 
 from ..compat import (
     compat_urlparse,
-    compat_kwargs,
 )
 from ..utils import (
     check_executable,
@@ -158,7 +157,7 @@ def _load_cookies(self):
                 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();'):
         """