[Android] Switch to https for opensubtitles API

Geoffrey Métais git at videolan.org
Thu Jul 12 15:38:49 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jul 12 15:32:18 2018 +0200| [d4c32f47237050d9042724661b06d960754d386c] | committer: Geoffrey Métais

Switch to https for opensubtitles API

> https://code.videolan.org/videolan/vlc-android/commit/d4c32f47237050d9042724661b06d960754d386c
---

 vlc-android/src/org/videolan/vlc/util/SubtitlesDownloader.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/util/SubtitlesDownloader.java b/vlc-android/src/org/videolan/vlc/util/SubtitlesDownloader.java
index dfda01fc7..e990f6524 100644
--- a/vlc-android/src/org/videolan/vlc/util/SubtitlesDownloader.java
+++ b/vlc-android/src/org/videolan/vlc/util/SubtitlesDownloader.java
@@ -77,7 +77,7 @@ public class SubtitlesDownloader {
     private static final int DIALOG_UPDATE_MSG = 4;
     private static final String TAG = "VLC/SubtitlesDownloader";
 
-    private static final String OpenSubtitlesAPIUrl = "http://api.opensubtitles.org/xml-rpc";
+    private static final String OpenSubtitlesAPIUrl = "https://api.opensubtitles.org/xml-rpc";
     private static final String HTTP_USER_AGENT = "VLSub";
     private static final String USER_AGENT = "VLSub 0.9";
     private static final File SUBTITLES_DIRECTORY = new File(VLCApplication.getAppContext().getExternalFilesDir(null), "subs");



More information about the Android mailing list