mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-23 14:45:49 -07:00
[adobepass] create separate class for adobe pass authentication
This commit is contained in:
parent
884cdb6cd9
commit
1fd6e30988
5 changed files with 134 additions and 99 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue