Closed kr4t0n closed 4 years ago
It seems that using different service urls could solve the problem https://github.com/ssut/py-googletrans/issues/165 . BTW, I will update py-googletrans in the next version of autosub.
It seems that using different service urls could solve the problem ssut/py-googletrans#165 . BTW, I will update py-googletrans in the next version of autosub.
It doesn't work now.
@isuzjc It still works. You can just use different service url like translate.google.cn
by option -surl "translate.google.cn"
and it's OK.
Commit https://github.com/BingLingGroup/autosub/commit/d1133b37fcfc3ea03458063f73841dcbe732b483 should fix this. Thanks for your report.
Make sure you have read the readme, searched and read the issues related to yours. Otherwise it will be considered as a duplicate which will be closed immediately.
Describe the bug AttributeError: 'NoneType' object has no attribute 'encode'
To Reproduce Steps to reproduce the behavior:
Ctrl-A
andCtrl-C
to copy all of them. Use the following markdown code block syntax is recommended. Copy them into the place between ```.Expected behavior Translate and obtain sub.
Screenshots If applicable, add screenshots to help explain your problem. But it is not recommended using screenshots to demonstrate the commandline output unless you think it really matters.
Environment (please complete the following information):
Additional context (Optional) Add any other context about the problem here.