[adobepass] create separate class for adobe pass authentication

This commit is contained in:
Remita Amine
2016-08-14 17:55:56 +01:00
parent 884cdb6cd9
commit 1fd6e30988
5 changed files with 134 additions and 99 deletions

View File

@@ -119,7 +119,7 @@ class NationalGeographicIE(ThePlatformIE):
auth_resource_id = self._search_regex(
r"video_auth_resourceId\s*=\s*'([^']+)'",
webpage, 'auth resource id')
query['auth'] = self._extract_mvpd_auth(url, display_id, 'natgeo', auth_resource_id) or ''
query['auth'] = self._extract_mvpd_auth(url, display_id, 'natgeo', auth_resource_id)
return {
'_type': 'url_transparent',