Download subtitles for movies and shows, automatically with one easy mouse click.
Project description
Table of Contents
- About
- Getting Started
- Preview
- PyPi
- Source
- Executable
- Supported Languages
- Authors
- Contributing
- Reporting a Vulnerability
- Special Thanks
About
- Automatically search, download and extract subtitles for any movie or show with one easy mouse click from the context menu.
- Has a GUI for all the custom settings that can be configured.
- For 70 different languages, of which most work on all available subtitle sites.
- Can be configured to include hearing impaired subtitles only, none-hearing impaired subtitles only or both.
- Configure how strictly the file name has to match the search results.
- Can be ran from a compiled executable, without the need for a Python interpreter and importing modules.
- Subtitles are gathered from subscene and opensubtitles.
- Pick where you get the subtitles from.
- Works inside and outside of a env.
This started as a fun project to learn how to code in python and how to use git, has now developed into a application I use daily and enjoy working on. There are many similar repositories out there that grab subtitles automatically from the web, so this might not be the most unique project. But feel free to check this one out, might offer something new. Have tried to make the setup processes as painless as possible with the use of as few external modules as possible. The average run time is around 1 second, a little bit longer for TV-Series due to the high amount of titles.
Feel free to ask me anything about this project, request new features, contribute or give constructive feedback.
Preview
While searching for subs if show terminal is disabled
Available options in the widget
Download window with subtitles that were not downloaded
Getting Started
Source is probably faster than the executable version, but the executable can be run without installing a Python interpreter or any modules.
PyPi
Download Python >= 3.10
Install subsearch
pip install subsearch
Add the context-menu
subsearch --registry-key add
More options
subsearch --help
See code block for imports
Source
Download Python >= 3.10
Download subsearch
git clone https://github.com/vagabondHustler/subsearch.git
Install package locally
pip install -e .
from subsearch import Subsearch
from subsearch.utils.raw_config import get_config, set_config
def main() -> None:
config = get_config()
config["providers"]["opensubtitles_hash"] = False
set_config(config)
ss = Subsearch()
ss.subscene_scrape()
ss.opensubtitles_scrape()
ss.process_files()
ss.end()
if __name__ == "__main__":
main()
python -m main c:\users\vagabondhustler\desktop\foo.bar.the.movie.2022.1080p-foobar.mkv
Executable
Download SubSearch-vx.x.x-win-x64.zip from releases - Download URL
Unzip file and run SubSearch.exe
If you get a PUA message, click More info
If no subtitles are found or no subtitles (including the folder subs with extra .srt files) are synced with the movie check the subsearch.log for a list with download links to all the different subtitles that didn't pass the search threshold percentage or decrease the value in the settings GUI, accessed from SubSearch.exe
Supported languages
N/A
= not supported on opensubtitles
Albanian alb
Arabic ara
Armenian arm
Azerbaijani aze
Basque baq
Belarusian bel
Bosnian bos
Brazillian-Portuguese pob
Bulgarian bul
Bulgarian-English N/A
Burmese bur
Cambodian-Khmer khm
Catalan cat
Chinese-BG-code zht
Croatian hrv
Czech cze
Danish dan
Dutch dut
Dutch-English N/A
English eng
English-German N/A
Esperanto epo
Estonian est
Finnish fin
French fre
Georgian geo
German ger
Greenlandic N/A
Hebrew heb
Hindi hin
Hungarian hun
Hungarian-English N/A
Icelandic ice
Indonesian ind
Italian ita
Japanese jpn
Kannada kan
Kinyarwanda N/A
Korean kor
Kurdish kur
Latvian lav
Lithuanian lit
Macedonian mac
Malayalam mal
Manipuri mni
Mongolian mon
Nepali nep
Norwegian nor
Pashto N/A
Punjabi N/A
Romanian rum
Russian rus
Serbian scc
Sinhala sin
Slovak slo
Slovenian slv
Somali som
Spanish spa
Sundanese sun
Swahili swa
Swedish swe
Tagalog tgl
Tamil tam
Telugu tel
Thai tha
Turkish tur
Ukrainian ukr
Urdu urd
Vietnamese vie
Yoruba N/A
Authors
Special Thanks
- To the people at othneildrew/Best-README-Template for
README
template - To the people at pimoroni/template-python for
CONTRIBUTING
template - To the people at manojmj92/subtitle-downloader for inspiration, ways of solving similar problems
- To the people at psf/black for ways of doing workflow related tasks
- To the people at zavoloklom/material-design-iconic-font for amazing icons
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file subsearch-2.19.53.tar.gz
.
File metadata
- Download URL: subsearch-2.19.53.tar.gz
- Upload date:
- Size: 31.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da8918b1cb672c8600697136c6ff4b677075ec772da413c1393d900bee57dd67 |
|
MD5 | 33f567fdeb42377f19fc3a86f70c0005 |
|
BLAKE2b-256 | 5b07f51b579088fc1779f9d882584a1deb3b3362ac147268f18903756bbd0cdc |
File details
Details for the file subsearch-2.19.53-py3-none-any.whl
.
File metadata
- Download URL: subsearch-2.19.53-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 741f0a3c121808298dac6891b65db7a47bd59e54b72fac26daecbe87d2b15100 |
|
MD5 | b1aef130ffe9747cc16d62b5df82e941 |
|
BLAKE2b-256 | d867d4943d6a972dabd4baca4e2bcd27f87c624d34410b153c4099540438e3f6 |