diff options
author | Remita Amine <remitamine@gmail.com> | 2016-08-14 17:55:56 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2016-08-14 18:04:50 +0100 |
commit | 1fd6e30988f44d372c7112c2d5e44c0d5cdbc4ed (patch) | |
tree | 2492ccb0e0806b36cbe933c9a64f6469c1c104a5 /youtube_dl/extractor/nationalgeographic.py | |
parent | 884cdb6cd9c872ea68a03341e462b58e51fba58a (diff) |
[adobepass] create separate class for adobe pass authentication
Diffstat (limited to 'youtube_dl/extractor/nationalgeographic.py')
-rw-r--r-- | youtube_dl/extractor/nationalgeographic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nationalgeographic.py b/youtube_dl/extractor/nationalgeographic.py index 0027ff1b8..890e8d5bc 100644 --- a/youtube_dl/extractor/nationalgeographic.py +++ b/youtube_dl/extractor/nationalgeographic.py @@ -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', |