mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-02-02 14:16:50 +00:00
Remove logging
This commit is contained in:
parent
ed9a93f1a1
commit
bb8ebc8767
|
@ -657,19 +657,16 @@ def _load_sid_cookies(self):
|
|||
yt_cookies, ('SAPISID', '__Secure-3PAPISID'))
|
||||
if sapisid_cookie and sapisid_cookie.value:
|
||||
self._SAPISID = sapisid_cookie.value
|
||||
self.write_debug('Found SAPISID cookie')
|
||||
|
||||
if self._1PSAPISID is None:
|
||||
_1papisid_cookie = yt_cookies.get('__Secure-1PAPISID')
|
||||
if _1papisid_cookie and _1papisid_cookie.value:
|
||||
self._1PSAPISID = _1papisid_cookie.value
|
||||
self.write_debug('Found 1PAPISID cookie')
|
||||
|
||||
if self._3PSAPISID is None:
|
||||
_3papisid_cookie = yt_cookies.get('__Secure-3PAPISID')
|
||||
if _3papisid_cookie and _3papisid_cookie.value:
|
||||
self._3PSAPISID = _3papisid_cookie.value
|
||||
self.write_debug('Found 3PAPISID cookie')
|
||||
|
||||
def _generate_sid_authorization(self, origin='https://www.youtube.com', user_session_id=None):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue