mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-01 02:37:29 +01:00
[mitele] Update app key regex
This commit is contained in:
parent
bfdf6fcc66
commit
00cb0faca8
@ -136,11 +136,9 @@ def _real_extract(self, url):
|
|||||||
video_id, 'Downloading gigya script')
|
video_id, 'Downloading gigya script')
|
||||||
|
|
||||||
# Get a appKey/uuid for getting the session key
|
# Get a appKey/uuid for getting the session key
|
||||||
appKey_var = self._search_regex(
|
|
||||||
r'value\s*\(\s*["\']appGridApplicationKey["\']\s*,\s*([0-9a-f]+)',
|
|
||||||
gigya_sc, 'appKey variable')
|
|
||||||
appKey = self._search_regex(
|
appKey = self._search_regex(
|
||||||
r'var\s+%s\s*=\s*["\']([0-9a-f]+)' % appKey_var, gigya_sc, 'appKey')
|
r'constant\s*\(\s*["\']_appGridApplicationKey["\']\s*,\s*["\']([0-9a-f]+)',
|
||||||
|
gigya_sc, 'appKey')
|
||||||
|
|
||||||
session_json = self._download_json(
|
session_json = self._download_json(
|
||||||
'https://appgrid-api.cloud.accedo.tv/session',
|
'https://appgrid-api.cloud.accedo.tv/session',
|
||||||
|
Loading…
Reference in New Issue
Block a user