GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - truebit/PyGetSubtitle: download movie and tv file subtitles with right click

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
PyGetSubtitle.workflow/Contents
PyGetSubtitle.workflow/Contents
 
 
.gitignore
.gitignore
 
 
LICENSE.md
LICENSE.md
 
 
PyGetSubtitle.py
PyGetSubtitle.py
 
 
README.md
README.md
 
 

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:

  • Windows demo
  • Mac OS X demo

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

  • Windows
  • Mac OS X

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

  • Windows版本
  • Mac OS X版本

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

  • Windows
  • Mac OS X

Windows 7

  • Install Python 安装Python:

    • Download from https://www.python.org/downloads/ and you'd better choose Python2.7 as I did not test on Python3, although I wrote the compatability code.
    • 从https://www.python.org/downloads/ 下载, 最好选择Python2.7。因为虽然考虑了Python3,但是没有做过测试,不保证可以使用
  • 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

download-subtitlesshootersubtitle

Resources

Readme
License
Activity

Stars

28 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.