Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change translation api's protocol from http to https #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions google-translate-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@
:group 'processes)

(defvar google-translate-base-url
"http://translate.google.com/translate_a/single")
"https://translate.google.com/translate_a/single")

(defvar google-translate-listen-url
"http://translate.google.com/translate_tts")
"https://translate.google.com/translate_tts")

(defun google-translate--format-query-string (query-params)
"Format QUERY-PARAMS as a query string.
Expand Down
2 changes: 1 addition & 1 deletion google-translate-tk.el
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
(defvar google-translate--bit-v-len 32)

(defvar google-translate--tkk-url
"http://translate.google.com/")
"https://translate.google.com/")

(defvar google-translate--tkk-regex
"TKK=eval('((function(){var\\s-+a\\\\x3d\\(-?[0-9]+\\);var\\s-+b\\\\x3d\\(-?[0-9]+\\);return\\s-+\\([0-9]+\\)"
Expand Down