diff --git a/FoxDot/lib/Extensions/VRender/Sinsy.py b/FoxDot/lib/Extensions/VRender/Sinsy.py index c7b676b3..04e70848 100644 --- a/FoxDot/lib/Extensions/VRender/Sinsy.py +++ b/FoxDot/lib/Extensions/VRender/Sinsy.py @@ -1,5 +1,5 @@ import sys -import urllib +import urllib.request from functools import reduce @@ -8,5 +8,4 @@ def download(output,wavPath): index = text.find('./temp/') + len('./temp/') text = text[index:index+40].split(".")[0] - testfile = urllib.URLopener() - testfile.retrieve("http://sinsy.sp.nitech.ac.jp/temp/" + text + ".wav", wavPath) \ No newline at end of file + urllib.request.urlretrieve("http://sinsy.sp.nitech.ac.jp/temp/" + text + ".wav", wavPath)