mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-28 11:36:22 +00:00
Update yt_dlp/extractor/adobepass.py
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
parent
8067cae57f
commit
5ca8669754
@ -1589,11 +1589,9 @@ class AdobePassIE(InfoExtractor): # XXX: Conventionally, base classes should en
|
|||||||
})
|
})
|
||||||
|
|
||||||
philo_code = getpass.getpass('Type auth code you have received [Return]: ')
|
philo_code = getpass.getpass('Type auth code you have received [Return]: ')
|
||||||
|
self._request_webpage(
|
||||||
update_code_payload = {'token': philo_code}
|
|
||||||
self._download_json_handle(
|
|
||||||
'https://idp.philo.com/auth/update/login_code', video_id,
|
'https://idp.philo.com/auth/update/login_code', video_id,
|
||||||
note='Submitting token', data=json.dumps(update_code_payload).encode('utf-8'),
|
'Submitting token', data=json.dumps({'token': philo_code}).encode(),
|
||||||
headers={
|
headers={
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'Accept': 'application/json',
|
'Accept': 'application/json',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user