NON-COMMERCIAL USE ONLY
Subtitle-Downloader supports downloading subtitles from Disney Plus, HBOGO Asia, KKTV, LineTV, friDay Video, CatchPlay, iq.com, Viu (support HK and SG without vpn), WeTV, and NowE.
Recommend using colab and save time for environmental issues.
Subtitle-Downloader is a command-line program to download subtitles from the most popular streaming platform. It requires the Python interpreter, version 3.6+, and is not platform specific. It should work on Linux, on Windows or on macOS. This project is only for personal research and language learning.
pip install -r requriements
- For iq.com users, make sure your PC have installed the Chrome browser, the code use selenium and it requires Chrome app.
python subtitle_downloader.py URL [OPTIONS]
e.g. Download season 1 episode 1-10
python subtitle_downloader.py URL -s 1 -e 1-10
e.g. Download season 1 episode 1,3,5
python subtitle_downloader.py URL -s 1 -e 1,3,5
e.g. Download season 1 with proxy (clash)
python subtitle_downloader.py URL -p http://127.0.0.1:7890
-h, --help show this help message and exit
-s --season download season [0-9]
-e --episode download episode [0-9]
-l, --last-episode download last episode
-o, --output output directory
-email, --email account for Disney Plus and HBOGO Asia
-password, --password password for Disney Plus and HBOGO Asia
-slang, --subtitle-language languages of subtitles; use commas to separate multiple languages
default: Traditional Chinese
all: download all available languages
-alang, --audio-language languages of audio-tracks; use commas to separate multiple languages
-p, --proxy proxy
Disney Plus
Codec | Language | 語言 |
---|---|---|
en | English [CC] | 英文 |
zh-Hant | Chinese (Traditional) | 台繁 |
zh-Hans | Chinese (Simplified) | 簡中 |
zh-HK | Cantonese | 港繁 |
da | Dansk | 丹麥文 |
de | Deutsch | 德文 |
de-forced | Deutsch [forced] | 德文 [強制軌] |
es-ES | Español | 西班牙文 |
es-ES-forced | Español [forced] | 西班牙文 [強制軌] |
es-419 | Español (Latinoamericano) | 西班牙文(拉丁美洲) |
es-419-forced | Español (Latinoamericano) [forced] | 西班牙文(拉丁美洲)[強制軌] |
fr-FR | Français | 法文 |
fr-FR-forced | Français [forced] | 法文 [強制軌] |
fr-CA | Français (Canadien) | 法文(加拿大) |
fr-CA-forced | Français (Canadien) [forced] | 法文(加拿大)[強制軌] |
it | Italiano | 義大利文 |
it-forced | Italiano [forced] | 義大利文 [強制軌] |
ja | Japanese | 日文 |
ja-forced | Japanese [forced] | 日文 [強制軌] |
ko | Korean | 韓文 |
ko-forced | Korean [forced] | 韓文 [強制軌] |
nl | Nederlands | 荷蘭文 |
no | Norsk | 挪威文 |
pl | Polski | 波蘭文 |
pl-forced | Polski [forced] | 波蘭文 [強制軌] |
pt-PT | Português | 葡萄牙文 |
pt-BR | Português (Brasil) | 葡萄牙文(巴西) |
pt-BR-forced | Português (Brasil) [forced] | 葡萄牙文(巴西)[強制軌] |
fi | Suomi | 芬蘭文 |
sv | Svenska | 瑞典文 |
HBOGO Asia
Codec | Language | 語言 |
---|---|---|
en | English | 英文 |
zh-Hant | Traditional Chinese | 繁體中文 |
zh-Hans | Simplified Chinese | 簡體中文 |
ms | Malay | 馬來文 |
th | Thai | 泰文 |
id | Indonesian | 印尼文 |
iq.com
Codec | Language | 語言 |
---|---|---|
en | English | 英文 |
zh-Hant | Traditional Chinese | 繁體中文 |
zh-Hans | Simplified Chinese | 簡體中文 |
ms | Malay | 馬來文 |
vi | Vietnamese | 越南文 |
th | Thai | 泰文 |
id | Indonesian | 印尼文 |
es | Spanish | 西班牙文 |
ko | Korean | 韓文 |
ar | Arabic | 阿拉伯文 |
Viu
Codec | Language | 語言 |
---|---|---|
en | English | 英文 |
zh-Hant | Traditional Chinese | 繁體中文 |
zh-Hans | Simplified Chinese | 簡體中文 |
ms | Malay | 馬來文 |
th | Thai | 泰文 |
id | Indonesian | 印尼文 |
my | Burmese | 緬甸文 |
WeTV
Codec | Language | 語言 |
---|---|---|
en | English | 英文 |
zh-Hant | Traditional Chinese | 繁體中文 |
zh-Hans | Simplified Chinese | 簡體中文 |
ms | Malay | 馬來文 |
th | Thai | 泰文 |
id | Indonesian | 印尼文 |
pt | Português | 葡萄牙文 |
es | Spanish | 西班牙文 |
ko | Korean | 韓文 |
python subtitle_downloader.py https://www.disneyplus.com/series/loki/6pARMvILBGzF -slang en,zh-Hant
1. Run install_requirements.bat
2. Run Subtitle_Downloader.bat
- Install https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid
- Login CatchPlay, and use this plugin download catchplay.com_cookies.txt (Don't modify anything even the file name)
- Put cookie.txt into Subtitle-Downloader/configs/cookies
- Make sure the movies or series which you're going to download is playable in your region.
- Install https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid
- Login NowE, and use this plugin download nowe.com_cookies.txt (Don't modify anything even the file name)
- Copy user-agent from login browser (https://www.whatsmyua.info/) and paste it in Subtitle-Downloader/configs/config.py (USER_AGENT). The user-agent must be same as login browser user-agent.
- Put cookie.txt into Subtitle-Downloader/configs/cookies
- Make sure the movies or series which you're going to download is playable in your region.
- Install https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid
- Use this plugin download iq.com_cookies.txt (Don't modify anything even the file name)
- Put cookie.txt into Subtitle-Downloader/configs/cookies
- Make sure the movies or series which you're going to download is playable in your region.
- Make your video is playable in your region and use the album page to download subtitles.
- Make sure Google Chrome Browser is installed on your PC and update it to the latest version.
- Any issue during downloading subtitles, upload the screenshot and log file.
- Make sure the video contains embedded subtitles and it is playable in your region.
python subtitle_downloader.py https://www.disneyplus.com/series/loki/6pARMvILBGzF -d
目前只支持從
- KKTV 下載電影、影集、綜藝、動漫字幕
- LineTV 下載影集、綜藝字幕
- FriDay 影音 下載電影、影集、綜藝、動漫字幕
- 愛奇藝(iq.com) 下載電影、劇集
- Disney+ 下載電影、影集
- HBOGO Asia 下載電影、影集
- Viu 下載電影、影集
- CatchPlay 下載電影、影集字幕
- WeTV 下載電影、影集字幕
- NOW E 下載電影、影集字幕 請確認網站網址無誤