mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 22:55:42 +07:00
[compat, networking] Deprecate old functions (#2861)
Authored by: coletdjnz, pukkandan
This commit is contained in:
@@ -25,7 +25,7 @@ def _perform_login(self, username, password):
|
||||
self._LOGIN_URL, None, 'Downloading login popup')
|
||||
|
||||
def is_logged(url_handle):
|
||||
return self._LOGIN_URL not in url_handle.geturl()
|
||||
return self._LOGIN_URL not in url_handle.url
|
||||
|
||||
# Already logged in
|
||||
if is_logged(urlh):
|
||||
|
||||
Reference in New Issue
Block a user