From 985d404611af7556062dae082838e68c1fa3d511 Mon Sep 17 00:00:00 2001 From: handy Date: Sun, 1 Nov 2020 22:19:54 +0800 Subject: [PATCH] ref: change url from http to https --- tools/addword.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/addword.py b/tools/addword.py index 48c12ac..d96ae32 100755 --- a/tools/addword.py +++ b/tools/addword.py @@ -25,8 +25,8 @@ def get_pronunciations(word): """Return the word's pronouciation URLs and phonetic transcriptions from youdao.com if available""" word = word.strip() - word_url = "http://dict.youdao.com/w/en/"+word - pron_url = "http://dict.youdao.com/dictvoice?audio="+word+"&" + word_url = "https://dict.youdao.com/w/en/"+word + pron_url = "https://dict.youdao.com/dictvoice?audio="+word+"&" britsh_en = [" ", " "] american_en = [" "," "] try: