结合bash和perl脚本,从下载并提取原始用户上传的。
用法:
subtitlecat.sh < URL> [ < output> ]
第一个参数
subtitlecat.com上URL
必需的
第二个参数
SRT文本文件的输出文件路径绝对或相对于当前工作目录
可选的
默认:
dirpath是当前工作目录
文件名是URL中最后一个删除编码的组成部分,文件扩展名从.html更改为.srt
例子:
url= ' https://www.subtitlecat.com/subs/178/Marvels.The.Punisher.S01E01.720p.WEB-DL.x265-HETeam.html '
dir= ' The Punisher '
out= " ${dir} /S01E01.srt "
本文地址:https://sicmodule.kub2b.com/tnews/5176.html
企库往 https://sicmodule.kub2b.com/ , 查看更多