1 from .common
import InfoExtractor
8 class GigyaBaseIE(InfoExtractor
):
9 def _gigya_login(self
, auth_data
):
10 auth_info
= self
._download
_json
(
11 'https://accounts.eu1.gigya.com/accounts.login', None,
12 note
='Logging in', errnote
='Unable to log in',
13 data
=urlencode_postdata(auth_data
))
15 error_message
= auth_info
.get('errorDetails') or auth_info
.get('errorMessage')
18 f
'Unable to login: {error_message}', expected
=True)