1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-02 19:12:54 +08:00
This commit is contained in:
Aniruddh Joshi 2018-10-07 02:29:24 +05:30
parent da99293860
commit a9e7233d10

View File

@ -1463,7 +1463,7 @@ class AdobePassIE(InfoExtractor):
elif mso_id == 'Philo':
# Comcast page flow varies by video site and whether you
# are on Comcast's network.
mvpd_auth_code_res = self._download_json(
self._download_webpage(
'https://idp.philo.com/auth/init/login_code', video_id, 'Requesting auth code', data=urlencode_postdata({
'ident': username,
'device': 'web',
@ -1471,7 +1471,7 @@ class AdobePassIE(InfoExtractor):
'send_token': True
}))
philo_code = compat_getpass('Type auth code you have received [Return]: ')
confirm_token = self._download_json(
self._download_webpage(
'https://idp.philo.com/auth/update/login_code', video_id, 'Submitting token', data=urlencode_postdata({
'token': philo_code
}))