All Projects → gyh1621 → Getsubtitles

gyh1621 / Getsubtitles

Licence: mit
一步下载匹配字幕

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Getsubtitles

ChineseSubFinder
自动化中文字幕下载。字幕网站支持 shooter、xunlei、arrst、a4k 。支持 Emby、Jellyfin、Plex、Sonarr、Radarr、TMM
Stars: ✭ 2,212 (+222.45%)
Mutual labels:  plex, subtitle
Sickgear
SickGear has proven the most reliable stable TV fork of the great Sick-Beard to fully automate TV enjoyment with innovation.
Stars: ✭ 452 (-34.11%)
Mutual labels:  plex, subtitle
Sushi
Automatic subtitle shifter based on audio
Stars: ✭ 407 (-40.67%)
Mutual labels:  subtitle
Malsync
Integrates MyAnimeList/AniList/Kitsu/Simkl into various sites, with auto episode tracking.
Stars: ✭ 572 (-16.62%)
Mutual labels:  plex
Subplayer
📝 SubPlayer is a online subtitle editor
Stars: ✭ 517 (-24.64%)
Mutual labels:  subtitle
Alass
"Automatic Language-Agnostic Subtitle Synchronization"
Stars: ✭ 421 (-38.63%)
Mutual labels:  subtitle
Ffsubsync
Automagically synchronize subtitles with video.
Stars: ✭ 5,167 (+653.21%)
Mutual labels:  subtitle
Tautulli
A Python based monitoring and tracking tool for Plex Media Server.
Stars: ✭ 4,152 (+505.25%)
Mutual labels:  plex
Phlex
A super-sexy voice interface for the Plex HTPC
Stars: ✭ 626 (-8.75%)
Mutual labels:  plex
Youtube Auto Subtitle Download
☕️ Youtube 字幕下载,Download Youtube Subtitles (Work best on Chrome + Tampermonkey) 2020-10-7 更新:支持中英双语字幕下载,请在页面底部提供的另一个链接进行安装
Stars: ✭ 500 (-27.11%)
Mutual labels:  subtitle
Overseerr
Request management and media discovery tool for the Plex ecosystem
Stars: ✭ 557 (-18.8%)
Mutual labels:  plex
Youtube Transcript Api
This is a python API which allows you to get the transcript/subtitles for a given YouTube video. It also works for automatically generated subtitles and it does not require a headless browser, like other selenium based solutions do!
Stars: ✭ 495 (-27.84%)
Mutual labels:  subtitle
Subfinder
字幕查找器
Stars: ✭ 545 (-20.55%)
Mutual labels:  subtitle
Cs231n 17 kor sub
CS231N 2017 video subtitles translation project for Korean Computer Science students
Stars: ✭ 409 (-40.38%)
Mutual labels:  subtitle
Translate Subtitle File
🤖 字幕组机翻小助手 - 【功能1:翻译字幕文件】 .srt .ass .vtt 【功能2:语音转文字】(拖入视频或音频识别出字幕) (最新版 v4.1.0 更新时间2021年2月23号) 可配置12家翻译服务商,如谷歌,百度,腾讯,彩云,IBM,Azure,Amazon等(可配置6家语音服务商:阿里云,讯飞,腾讯云,IBM,Azure,Amazon )优点:1. 可以用多家服务商,2. 自己配 API Key 用自己账户的免费额度,比如腾讯每月有500万字符的免费翻译额度,IBM 500分钟的语音转文字免费额度(tern.best 那个域名过期了我不想续费了)
Stars: ✭ 579 (-15.6%)
Mutual labels:  subtitle
Gfriends
媒体服务器演员头像仓库
Stars: ✭ 400 (-41.69%)
Mutual labels:  plex
Artplayer
🎨 ArtPlayer.js is a modern and full featured HTML5 video player
Stars: ✭ 484 (-29.45%)
Mutual labels:  subtitle
Plex Nginx Reverseproxy
Configuration to serve Plex Media Center https://plex.tv using Nginx https://nginx.com
Stars: ✭ 523 (-23.76%)
Mutual labels:  plex
Python Plexapi
Python bindings for the Plex API.
Stars: ✭ 682 (-0.58%)
Mutual labels:  plex
Videoshow
Simple node.js utility to create video slideshows from images with optional audio and visual effects using ffmpeg
Stars: ✭ 618 (-9.91%)
Mutual labels:  subtitle

GetSub

codecov

用getsub一步下载字幕。

下载

pip install getsub

解压 7z 需要 7z 的支持,可在此处下载对应系统版本并将执行文件路径放入环境变量中。

解压 rar 需要 unrar 的支持,可在此处下载对应系统版本并将执行文件路径放入环境变量中。

使用

Python 3

下载单视频字幕

single file

下载一个文件夹内的视频文件字幕

dir

getsub 默认为自动下载字幕压缩包并从中选取它认为最合适的字幕,一般是ass格式、双语字幕, 可以添加 -q 参数来手动选择下载的字幕压缩包。

添加 -s 参数手动选择压缩包中字幕。

query

所有可选参数

-h          帮助
-p          手动设置字幕下载文件夹
-q          查询模式,手动选择下载的压缩包
-s          手动选择下载压缩包中要解压的字幕
-o          若视频存在同名字幕,替换已经存在的字幕
-m          保存原始下载字幕压缩包(通常一个字幕压缩包含有多个字幕)
-b          若一个字母压缩包内同时有 .ass、.srt 类型字幕,保存两种字幕
-n          查询模式下显示最大候选字幕数
-d          选择下载器,subhd、zimuku、zimuzu
--plex      在下载完成的字幕名中插入 .zh 标识供 plex 识别为中文字幕
--debug     显示报错详细信息

说明

搜索规则

getsub会抽取视频名中包含的一下信息进行多次组合搜索,直到候选字幕包数达到设定值(默认为10条,可以通过 -n 参数设定)。

  • 美剧名(电影名)
  • 剧集信息(美剧)
  • 年份(电影)
  • 分辨率
  • 视频格式
  • 音频编码格式
  • 压制组信息

如视频名为 Game.of.Thrones.s07e01.1080p.web.h264-tbs.mkv, 所有组合如下,按搜索顺序先后排列:

Game of Thrones s07 e01 1080p WEB-DL tbs
Game of Thrones s07 e01 1080p WEB-DL
Game of Thrones s07 e01 1080p
Game of Thrones s07 e01
Game of Thrones s07
Game of Thrones

如视频名为 The.Notebook.2004.720p.BluRay.x264.AC3.3Audio-HDWinG.mkv, 所有组合如下,按搜索顺序先后排列:

The Notebook 2004 720p BluRay 3Audio-HDWinG 
The Notebook 2004 720p BluRay  
The Notebook 2004 720p   
The Notebook 2004
The NoteBook

标准视频名

全英文组成,包含美剧名(电影名), 分辨率, 视频格式, 音频编码格式, 压制组等信息。

如: Game.of.Thrones.s07e01.1080p.web.h264-tbs.mkvT2_ Trainspotting (1080p HD).mp4

其余视频名

其余一般为包含了中文的视频名。

对于包含中文的视频名:

  • 若视频名的美剧名(电影名)中中文字数大于英文字数,选取中文作为视频的title
  • 若视频名的美剧名(电影名)中英文字数大于等于中文字数,选取英文作为视频的title

其中若名称中英混合,只能作简单过滤中文(英文)字符。

若视频名为 [SPS辛普森一家字幕组].[丑陋的美国人.第一季].Ugly.Amricans.S01E01.rmvb 这类, 无法抽取准确的名称。

下载来源

关于下载来源,现在首选是从zimuku下载字幕,若搜索结果数太少,会继续搜索zimuzu的字幕。

关于下载频率,zimuzu 与 zimuku 目前都没有明显的下载频率限制,拖入一个视频文件夹下载一般不会报错。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].