diff options
author | Remita Amine <remitamine@gmail.com> | 2018-10-02 19:43:06 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2018-10-02 19:43:06 +0100 |
commit | d98cb62e552ee74079fda2e4173a40b14faac3fe (patch) | |
tree | b312c1d1a784b6da84d458c272b080fd20ee2b34 /youtube_dl/extractor | |
parent | 05e7c184da85f83b254bc3d138f89b11da802bdb (diff) | |
download | youtube-dl-d98cb62e552ee74079fda2e4173a40b14faac3fe.tar.xz |
[crunchyroll] switch to HTTPS for RpcApi(closes #17749)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/crunchyroll.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/crunchyroll.py b/youtube_dl/extractor/crunchyroll.py index af786d096..045be0ab5 100644 --- a/youtube_dl/extractor/crunchyroll.py +++ b/youtube_dl/extractor/crunchyroll.py @@ -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', }) |