Browse Source

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

Remita Amine 7 years ago
parent
commit
d98cb62e55
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/crunchyroll.py

+ 1 - 1
youtube_dl/extractor/crunchyroll.py

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