1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 08:34:32 +01:00

new sanitized request url mewatch

This commit is contained in:
juandisay 2020-02-27 09:53:38 +07:00
parent bee6451fe8
commit d0f91e2083

View File

@ -125,8 +125,10 @@ class ToggleIE(InfoExtractor):
'mediaType': 0,
}
# sanitized request:
# 'http://tvpapi.as.tvinci.com/v2_9/gateways/jsonpostgw.aspx?m=GetMediaInfo'
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'))
info = self._download_json(req, video_id, 'Downloading video info json')