Skip to content

truebit/PyGetSubtitle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyGetSubtitle

Released under the GNU General Public License version 3 by SeganW

本软件由SeganW开发,遵循GPL V3协议

Introduction 简介

In Windows and Mac OS X, PyGetSubtitle downloads subtitles after selecting one or more video files, by using the API supplied by Shooter.cn and thesubdb.com

  • This script search from Shooter.cn database first. If no subtitles were found, then try thesubdb.com. As thesubdb.com seems do not contain much entries
  • It will download all subtitles found on shooter.cn,starting with a trailing number from 1
  • It will only download one subtitle found from thesubdb.com
  • The name of the subtitle is the same as the video file, e.g. [饮食男女].eat.drink.man.woman.1994.720p.bluray.x264-publichd_1.srt

PyGetSubtitle支持在Windows和MacOSX中选中一个或多个的视频文件,通过射手网thesubdb.com提供的API下载对应的字幕文件.

  • 现在的逻辑是先搜射手网字幕,如果搜不到的话才去thesubdb搜索。因为感觉thesubdb的数据不是很丰富。
  • 搜索射手网时如果找到多个字幕,会把所有字幕都下载下来,字幕名从1开始递增
  • 搜索thesubdb.com时只下载一个字幕文件
  • 字幕文件与视频文件名称相同,形如[饮食男女].eat.drink.man.woman.1994.720p.bluray.x264-publichd_1.srt

How to Use 如何使用

PyGetSubtitle supports both Windows and Mac OS X. You could watch below demo to know how it works:

For more details, please check the detailed step-by-step guide:


PyGetSubtitle同时支持Windows和Mac OS X。可以观看以下动画了解操作过程:

详细安装和使用方式请看下面的详细步骤:


Windows 7

  • Install Python 安装Python:

  • Put PyGetSubtitle.py file to SendTo... 把PyGetSubtitle.py文件放到“发送到... ”中

    • input ·shell:sendto` in searchbar after hit Windows key, and press Enter key to enter "SendTo" directory
    • copy the PyGetSubtitle.py to the directory
    • 按Windows键,在搜索框中输入shell:sendto,按回车后进入“SendTo”文件夹
    • PyGetSubtitle.py文件复制到这个文件夹中
  • Use it! 开始使用

    • Select one or more video files and click right mouse, hover on send to and then choose PyGetSubtitle.py.
    • Enjoy~
    • 选择一个或多个视频文件,点击鼠标右键,选择“发送到”,选择PyGetSubtitle.py
    • 大功告成
demo on Windows 动画演示

WindowsDemoGif


Mac OS X

It's easier to integrate this script as a service in Mac OS X Automator I already added a service workflow, so that you need not create one from scratch.

在MacOSX中使用Automator工具集成Python脚本作为一个服务使用甚至更方便些。 我已经做好了一个服务的workflow,这样你就不需要从头创建这个服务了

  • Double click PyGetSubtitle.workflow and then click "install" to install the service workflow
  • Now you could right click on one or many video files, under Service there should be a PyGetSubtitle to use
  • 双击PyGetSubtitle.workflow,然后点击“安装”
  • 成功后选择一个或多个视频文件,点击鼠标右键,选择“服务”,选择PyGetSubtitle
demo on MacOSX 动画演示

MacDemoGif

About

download movie and tv file subtitles with right click

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages