mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
new sanitized request url mewatch
This commit is contained in:
parent
bee6451fe8
commit
d0f91e2083
@ -125,8 +125,10 @@ class ToggleIE(InfoExtractor):
|
|||||||
'mediaType': 0,
|
'mediaType': 0,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# sanitized request:
|
||||||
|
# 'http://tvpapi.as.tvinci.com/v2_9/gateways/jsonpostgw.aspx?m=GetMediaInfo'
|
||||||
req = sanitized_Request(
|
req = sanitized_Request(
|
||||||
'http://tvpapi.as.tvinci.com/v2_9/gateways/jsonpostgw.aspx?m=GetMediaInfo',
|
'https://tvpapi-as.ott.kaltura.com/v3_9/gateways/jsonpostgw.aspx?m=GetMediaInfo',
|
||||||
json.dumps(params).encode('utf-8'))
|
json.dumps(params).encode('utf-8'))
|
||||||
info = self._download_json(req, video_id, 'Downloading video info json')
|
info = self._download_json(req, video_id, 'Downloading video info json')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user