163sub字幕下载助手是针对163sub字幕网设计的一个下载辅助。163字幕网拥有最新最全的视频字幕,无论是国内还是国外的电影、电视剧、动漫等,都可以搜到相应的字幕。而这个163sub字幕下载助手则可以帮助用户解决一些下载问题。
使用说明
rem 第一步:获取搜索结果,匹配字幕id
curl -s -o %film%-utf8temp.txt http://www.163sub.com/Search?id=%film%
iconv.exe -c -f UTF-8 -t GBK %film%-utf8temp.txt > %film%-gbktemp.txt
sed "s#'#\n#g" %film%-gbktemp.txt | grep ^/download^/ > subidtemp.txt
sed "s#../../download/##g" subidtemp.txt | sed "$d"> subid.txt
rem 第二步:下载字幕
for /f %%i in (subid.txt) do (
curl -# -o %%i-utf8temp.txt http://www.163sub.com/download/%%i -H "referer:http://www.163sub.com/Search?id=%film%"
iconv.exe -c -f UTF-8 -t GBK %%i-utf8temp.txt > %%i-gbktemp.txt
sed -i "s#'#\n#g;s#url=#\n#g" %%i-gbktemp.txt
grep http %%i-gbktemp.txt | egrep "\.srt|\.ass|\.smi" >>%film%-subdownloadhelpertemp.txt
)
sort %film%-subdownloadhelpertemp.txt | uniq >%film%-subdownloadhelper.txt
aria2c -i %film%-subdownloadhelper.txt
rem 第三步:重命名
if exist *.srt ren *.srt %film%-*.srt
if exist *.ass ren *.ass %film%-*.ass
if exist *.smi ren *.smi %film%-*.smi
rem 第四步:清理缓存
del *.
del *temp.*
相关说明
字幕均搜集自互联网,必须得有人翻译并公布之后才能被这个网站收录。如果你觉得哪部作品好看又想要找字幕的话,可以来这里尝试搜索一下。




















