mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-06-10 10:50:49 +00:00
add comments about http 401
This commit is contained in:
parent
696ac32838
commit
569d25e0fa
|
@ -34,6 +34,8 @@ class BrilliantpalaBaseIE(InfoExtractor):
|
|||
return
|
||||
|
||||
if urlh.status == 401:
|
||||
# The stored cookies have been invalidated.
|
||||
# No login page will be returned and cookies will be reset, so visit the page again.
|
||||
login_page = self._download_webpage(self._LOGIN_API, None, 'Downloading login page')
|
||||
|
||||
login_form = self._hidden_inputs(login_page)
|
||||
|
|
Loading…
Reference in New Issue
Block a user