1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-12 18:07:14 +08:00

[crunchyroll] switch to HTTPS for RpcApi(closes #17749)

This commit is contained in:
Remita Amine 2018-10-02 19:43:06 +01:00 committed by Ni Ndogo
parent 20e93ea80e
commit 57188f0a09

View File

@ -45,7 +45,7 @@ class CrunchyrollBaseIE(InfoExtractor):
data['req'] = 'RpcApi' + method
data = compat_urllib_parse_urlencode(data).encode('utf-8')
return self._download_xml(
'http://www.crunchyroll.com/xml/',
'https://www.crunchyroll.com/xml/',
video_id, note, fatal=False, data=data, headers={
'Content-Type': 'application/x-www-form-urlencoded',
})