mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 14:45:42 +07:00
[compat, networking] Deprecate old functions (#2861)
Authored by: coletdjnz, pukkandan
This commit is contained in:
@@ -36,7 +36,7 @@ def _perform_login(self, username, password):
|
||||
headers={'Referer': self._LOGIN_URL})
|
||||
|
||||
# login succeeded
|
||||
if 'platzi.com/login' not in urlh.geturl():
|
||||
if 'platzi.com/login' not in urlh.url:
|
||||
return
|
||||
|
||||
login_error = self._webpage_read_content(
|
||||
|
||||
Reference in New Issue
Block a user