Remove logging

This commit is contained in:
coletdjnz 2025-01-04 12:19:32 +13:00
parent ed9a93f1a1
commit bb8ebc8767
No known key found for this signature in database
GPG key ID: 91984263BB39894A

View file

@ -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):
"""