http => https

This commit is contained in:
Alex Yatskov 2016-07-24 11:31:37 -07:00
parent 654c47ceb6
commit 75a2be931a

View File

@ -45,7 +45,7 @@ def audioBuildFilename(kana, kanji):
def audioDownload(kana, kanji):
url = 'http://assets.languagepod101.com/dictionary/japanese/audiomp3.php?kanji={}'.format(urllib2.quote(kanji.encode('utf-8')))
url = 'https://assets.languagepod101.com/dictionary/japanese/audiomp3.php?kanji={}'.format(urllib2.quote(kanji.encode('utf-8')))
if kana:
url += '&kana={}'.format(urllib2.quote(kana.encode('utf-8')))