[adobepass] create separate class for adobe pass authentication
[youtube-dl] / youtube_dl / extractor / nationalgeographic.py
index 0027ff1b8d33e2bf67b20ca9201a6e3ee85736a9..890e8d5bcea3b869217f337f95de1ac69e4b85e7 100644 (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',