projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[youtube] Add support for invidiou.sh (#20309)
[youtube-dl]
/
youtube_dl
/
extractor
/
go.py
diff --git
a/youtube_dl/extractor/go.py
b/youtube_dl/extractor/go.py
index ec9dd6e3ab3979d0970e2caf5ad73c38e22d6630..206d89e8250ed78512f563022ee5ba52f4a82f06 100644
(file)
--- a/
youtube_dl/extractor/go.py
+++ b/
youtube_dl/extractor/go.py
@@
-25,15
+25,15
@@
class GoIE(AdobePassIE):
},
'watchdisneychannel': {
'brand': '004',
},
'watchdisneychannel': {
'brand': '004',
- 're
questor
_id': 'Disney',
+ 're
source
_id': 'Disney',
},
'watchdisneyjunior': {
'brand': '008',
},
'watchdisneyjunior': {
'brand': '008',
- 're
questor
_id': 'DisneyJunior',
+ 're
source
_id': 'DisneyJunior',
},
'watchdisneyxd': {
'brand': '009',
},
'watchdisneyxd': {
'brand': '009',
- 're
questor
_id': 'DisneyXD',
+ 're
source
_id': 'DisneyXD',
}
}
_VALID_URL = r'https?://(?:(?P<sub_domain>%s)\.)?go\.com/(?:(?:[^/]+/)*(?P<id>vdka\w+)|(?:[^/]+/)*(?P<display_id>[^/?#]+))'\
}
}
_VALID_URL = r'https?://(?:(?P<sub_domain>%s)\.)?go\.com/(?:(?:[^/]+/)*(?P<id>vdka\w+)|(?:[^/]+/)*(?P<display_id>[^/?#]+))'\
@@
-130,8
+130,8
@@
class GoIE(AdobePassIE):
'device': '001',
}
if video_data.get('accesslevel') == '1':
'device': '001',
}
if video_data.get('accesslevel') == '1':
- requestor_id = site_info
['requestor_id']
- resource = self._get_mvpd_resource(
+ requestor_id = site_info
.get('requestor_id', 'DisneyChannels')
+ resource = s
ite_info.get('resource_id') or s
elf._get_mvpd_resource(
requestor_id, title, video_id, None)
auth = self._extract_mvpd_auth(
url, video_id, requestor_id, resource)
requestor_id, title, video_id, None)
auth = self._extract_mvpd_auth(
url, video_id, requestor_id, resource)