You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.
我的环镜是win10系统,python3.6,在脚本运行到get_sub()函数中的写字幕文件处,偶尔会有崩溃的情况。
我把写文件的编码格式改为utf-8后,问题消失。
codecs.open('Download_subtitles/%s.srt'
% new_title,'w','utf-8')`当然要先引入codecs模块。
感谢您的开源脚本。
The text was updated successfully, but these errors were encountered: