wayneclub / Subtitle-Downloader

Auto download subtitles from streaming services, such as Apple TV+, CatchPlay, Crunchyroll, Disney+, FridayVideo, HBO GO Asia, iQIYI, iTunes, KKTV, LINE TV, meWATCH, MyVideo, NowE, NowPlayer, Viki, Viu, WeTV, YouTube, and etc.
MIT License
278 stars 60 forks source link

请问有计划支持hulu和peacock吗? #65

Closed iqiyiqiyuvr closed 7 months ago

iqiyiqiyuvr commented 7 months ago

请问有计划支持hulu和peacock吗? 谢谢!

wayneclub commented 7 months ago

请问有计划支持hulu和peacock吗? 谢谢!

需要測試帳號開發,若有需要可以私聊

probiome commented 7 months ago

Hi. I use this Python package via Colab. When I try to download subtitles from Apple TV, sometimes I see only zh-Hant subtitles, even if another subtitles are available.

For example: Simulant (2023)

Link: https://tv.apple.com/tr/movie/simulant/umc.cmc.38jwhekca6uyrvey6zs3n0xkk

Turkish subtitle is available for this movie. But, it downloads zh-Hant subtitles only.

How can I fix this issue? Thank you.

Screenshot 2023-12-03 075937

vleaf0210 commented 7 months ago

안녕. 저는 Colab을 통해 이 Python 패키지를 사용합니다. Apple TV에서 자막을 다운로드하려고 하면 다른 자막이 있음에도 불구하고 zh-Hant 자막만 표시되는 경우가 있습니다.

예: 시뮬런트(2023)

링크: https://tv.apple.com/tr/movie/simulant/umc.cmc.38jwhekca6uyrvey6zs3n0xkk

이 영화에는 터키어 자막을 사용할 수 있습니다. 하지만 zh-Hant 자막만 다운로드됩니다.

이 문제를 어떻게 해결할 수 있나요? 감사합니다.

스크린샷 2023-12-03 075937

I've had the same problem.

probiome commented 7 months ago

But, this script worked for me: https://greasyfork.org/en/scripts/422823-itunes-subtitle-downloader

wayneclub commented 7 months ago

안녕. 저는 Colab을 통해 이 Python 패키지를 사용합니다. Apple TV에서 자막을 다운로드하려고 하면 다른 자막이 있음에도 불구하고 zh-Hant 자막만 표시되는 경우가 있습니다. 예: 시뮬런트(2023) 링크: https://tv.apple.com/tr/movie/simulant/umc.cmc.38jwhekca6uyrvey6zs3n0xkk 이 영화에는 터키어 자막을 사용할 수 있습니다. 하지만 zh-Hant 자막만 다운로드됩니다. 이 문제를 어떻게 해결할 수 있나요? 감사합니다. 스크린샷 2023-12-03 075937

I've had the same problem.

Same issue as https://github.com/wayneclub/Subtitle-Downloader/issues/67 You can edit the subtitle language in user_config.toml

probiome commented 7 months ago

I've already made this edit before. However, nothing has changed. The problem still continues. I don't know what is the source of the problem?

wayneclub commented 7 months ago

I've already made this edit before. However, nothing has changed. The problem still continues. I don't know what is the source of the problem?

Fixed, download project and retry.

probiome commented 7 months ago

I've already made this edit before. However, nothing has changed. The problem still continues. I don't know what is the source of the problem?

Fixed, download project and retry.

Simulant (2023)

抱歉,您尚未購買此部電影

That's what I see.

wayneclub commented 7 months ago

I've already made this edit before. However, nothing has changed. The problem still continues. I don't know what is the source of the problem?

Fixed, download project and retry.

Simulant (2023)

抱歉,您尚未購買此部電影

That's what I see.

The subtitle from AppleTVPlus is based on the storefront from your Apple account. If your Apple account is from Taiwan this movie only provides Traditional Chinese.

Use debug mode and provide the debug log

python subtitle_downloader.py https://tv.apple.com/tr/movie/simulant/umc.cmc.38jwhekca6uyrvey6zs3n0xkk -d
probiome commented 7 months ago

I've already made this edit before. However, nothing has changed. The problem still continues. I don't know what is the source of the problem?

Fixed, download project and retry.

Simulant (2023) 抱歉,您尚未購買此部電影 That's what I see.

The subtitle from AppleTVPlus is based on the storefront from your Apple account. If your Apple account is from Taiwan this movie only provides Traditional Chinese.

Use debug mode and provide the debug log

python subtitle_downloader.py https://tv.apple.com/tr/movie/simulant/umc.cmc.38jwhekca6uyrvey6zs3n0xkk -d

The previous version of this app at least worked for movies with multiple languages. Now it has stopped completely. I tried it on movies that worked before, but I always encounter the same error: 抱歉,您尚未購買此部電影

I signed in to the US location on Apple TV. Otherwise, Apple TV is not available in Turkey.

wayneclub commented 7 months ago

I've already made this edit before. However, nothing has changed. The problem still continues. I don't know what is the source of the problem?

Fixed, download project and retry.

Simulant (2023) 抱歉,您尚未購買此部電影 That's what I see.

The subtitle from AppleTVPlus is based on the storefront from your Apple account. If your Apple account is from Taiwan this movie only provides Traditional Chinese. Use debug mode and provide the debug log

python subtitle_downloader.py https://tv.apple.com/tr/movie/simulant/umc.cmc.38jwhekca6uyrvey6zs3n0xkk -d

The previous version of this app at least worked for movies with multiple languages. Now it has stopped completely. I tried it on movies that worked before, but I always encounter the same error: 抱歉,您尚未購買此部電影

I signed in to the US location on Apple TV. Otherwise, Apple TV is not available in Turkey.

Please provide the full log file... If you use the US Apple TV profile, please get the URL from the US AppleTV+ store, not Turkey... Moreover, no matter US or Turkey store this subtitle is embedded in the video, so you can't download the subtitle unless you can download and decrypt the video.

EXT-X-MEDIA:TYPE=CLOSED-CAPTIONS,GROUP-ID="cc",NAME="English",LANGUAGE="en",AUTOSELECT=YES,INSTREAM-ID="CC1",CHARACTERISTICS="public.accessibility.transcribes-spoken-dialog"

probiome commented 7 months ago

app (1).log

probiome commented 7 months ago

I tried with / without US or Turkey. I also used VPN. Links from Apple TV US. Your latest update didn't fix it, even more I can't download any subtitles from any Apple TV locations.

wayneclub commented 7 months ago

app (1).log

Please provide the log file from Subtitle-Downloader in Subtitle-Downloader's log folder (Subtitle-Downloader_2023-12-XX_XX-XX-XX.log)

wayneclub commented 7 months ago

app (1).log

Please provide the log file from Subtitle-Downloader in Subtitle-Downloader's log folder (Subtitle-Downloader_2023-12-XX_XX-XX-XX.log)

Also, could you make sure your account has purchased the video? Currently, the service is designed for users who subscribe to AppleTV+ or purchase or rent iTunes movies.

probiome commented 7 months ago

app (1).log

Please provide the log file from Subtitle-Downloader in Subtitle-Downloader's log folder (Subtitle-Downloader_2023-12-XX_XX-XX-XX.log)

I use Colab to run this application. The log folder is empty. There's nothing there.

Screenshot 2023-12-04 091734

probiome commented 7 months ago

app (1).log

Please provide the log file from Subtitle-Downloader in Subtitle-Downloader's log folder (Subtitle-Downloader_2023-12-XX_XX-XX-XX.log)

Also, could you make sure your account has purchased the video? Currently, the service is designed for users who subscribe to AppleTV+ or purchase or rent iTunes movies.

As I said, in the version before the latest version you published, I was able to download at least all the subtitles available in movies containing multiple subtitles. The script called iTunes Subtitle Downloader downloads all subtitles on Apple TV without requiring any membership. I think you must have made some bugs in the latest version.

wayneclub commented 7 months ago

app (1).log

Please provide the log file from Subtitle-Downloader in Subtitle-Downloader's log folder (Subtitle-Downloader_2023-12-XX_XX-XX-XX.log)

Also, could you make sure your account has purchased the video? Currently, the service is designed for users who subscribe to AppleTV+ or purchase or rent iTunes movies.

As I said, in the version before the latest version you published, I was able to download at least all the subtitles available in movies containing multiple subtitles. The script called iTunes Subtitle Downloader downloads all subtitles on Apple TV without requiring any membership. I think you must have made some bugs in the latest version.

Yes. I know iTunes Subtitle Downloader. This script was designed differently because that script depends on js load and gets m3u8 hsl URL. You will find out not all the movies and TV episodes can be downloaded.

vleaf0210 commented 7 months ago

앱(1).log

Subtitle-Downloader의 로그 폴더(Subtitle-Downloader_2023-12-XX_XX-XX-XX.log)에 Subtitle-Downloader의 로그 파일을 제공해 주세요.

또한 귀하의 계정으로 동영상을 구매했는지 확인할 수 있나요? 현재 이 서비스는 AppleTV+를 구독하거나 iTunes 영화를 구매 또는 대여하는 사용자를 위해 설계되었습니다.

제가 말했듯이, 귀하가 게시한 최신 버전 이전 버전에서는 최소한 여러 자막이 포함된 영화에서 사용할 수 있는 모든 자막을 다운로드할 수 있었습니다. iTunes Subtitle Downloader라는 스크립트는 멤버십 없이도 Apple TV의 모든 자막을 다운로드합니다. 최신 버전에서는 버그가 좀 있었던 것 같아요.

예. 나는 iTunes 자막 다운로더를 알고 있습니다. 이 스크립트는 js 로드에 의존하고 m3u8 hsl URL을 가져오기 때문에 다르게 설계되었습니다. 모든 영화와 TV 에피소드를 다운로드할 수는 없다는 사실을 알게 될 것입니다.

https://github.com/MichaelYochpaz/iSubRip I can download subtitles through this tool, but it only works in movies...

probiome commented 7 months ago

앱(1).log

Subtitle-Downloader의 로그 폴더(Subtitle-Downloader_2023-12-XX_XX-XX-XX.log)에 Subtitle-Downloader의 로그 파일을 제공해 주세요.

또한 귀하의 계정으로 동영상을 구매했는지 확인할 수 있나요? 현재 이 서비스는 AppleTV+를 구독하거나 iTunes 영화를 구매 또는 대여하는 사용자를 위해 설계되었습니다.

제가 말했듯이, 귀하가 게시한 최신 버전 이전 버전에서는 최소한 여러 자막이 포함된 영화에서 사용할 수 있는 모든 자막을 다운로드할 수 있었습니다. iTunes Subtitle Downloader라는 스크립트는 멤버십 없이도 Apple TV의 모든 자막을 다운로드합니다. 최신 버전에서는 버그가 좀 있었던 것 같아요.

예. 나는 iTunes 자막 다운로더를 알고 있습니다. 이 스크립트는 js 로드에 의존하고 m3u8 hsl URL을 가져오기 때문에 다르게 설계되었습니다. 모든 영화와 TV 에피소드를 다운로드할 수는 없다는 사실을 알게 될 것입니다.

https://github.com/MichaelYochpaz/iSubRip I can download subtitles through this tool, but it only works in movies...

Can you please tell me how can I run this python packege step by step on Windows 11? I installed Python 3.11.6, but can't run it. Thanks.

vleaf0210 commented 7 months ago

Did you follow the Installation Guide on README.md?

vleaf0210 commented 7 months ago

If you receive an error message, please let me know here.

probiome commented 7 months ago

Did you follow the Installation Guide on README.md?

Yes, but it didn't work. I have no idea why. I am new for Python packages. I ran "Subtitle-Downloader" on Phython and it worked for me. But, it downloads zh-Hant subtitles only for some movies, and it downsloads all substitles when multi subtitles are available for some movies. I coundn't fix it. Even, its owner. :))

vleaf0210 commented 7 months ago

What movie subtitles do you need? Give me an Apple TV link and I'll see if it's possible.

probiome commented 7 months ago

What movie subtitles do you need? Give me an Apple TV link and I'll see if it's possible.

Knock at the Cabin: https://tv.apple.com/us/movie/knock-at-the-cabin/umc.cmc.7fetnok7ou3e2dhp9808fprnt

vleaf0210 commented 7 months ago

https://file.io/EjqdAOFM0a3z

probiome commented 7 months ago

https://file.io/EjqdAOFM0a3z

That's nice. But, I can't run this Python app. How did you install and run this Python app?

vleaf0210 commented 7 months ago

Did you turn on the prompt and enter the command? ex) isubrip "https://tv.apple.com/us/movie/knock-at-the-cabin/umc.cmc.7fetnok7ou3e2dhp9808fprnt" Show me a screenshot of your screen.

probiome commented 7 months ago

Did you turn on the prompt and enter the command? ex) isubrip "https://tv.apple.com/us/movie/knock-at-the-cabin/umc.cmc.7fetnok7ou3e2dhp9808fprnt" Show me a screenshot of your screen.

Here are secreenshoots

Screenshot 2023-12-04 151947 Screenshot 2023-12-04 152135

vleaf0210 commented 7 months ago

Did you enter this? python3 -m pip install -e git+https://github.com/MichaelYochpaz/iSubRip.git#egg=isubrip

probiome commented 7 months ago

python3 -m pip install -e git+https://github.com/MichaelYochpaz/iSubRip.git#egg=isubrip

I get errors:

iSubrip git

vleaf0210 commented 7 months ago
  1. Download and Install. https://desktop.githubusercontent.com/github-desktop/releases/3.3.5-76560059/GitHubDesktopSetup-x64.exe
  2. 'Environment Variable' Menu Open > Under 'User Variables' double click 'Path'.
  3. Click 'New' and enter the following. C:\Users\'username'\AppData\Local\GitHubDesktop\app-3.3.5\resources\app\git\cmd\git.exe Change 'username' to your username memhe.
probiome commented 7 months ago

python3 -m pip install -e git+https://github.com/MichaelYochpaz/iSubRip.git#egg=isubrip

Okay, done. But, still have the same issue.

vleaf0210 commented 7 months ago

python3 -m pip install -e git+https://github.com/MichaelYochpaz/iSubRip.git#egg=isubrip

Okay, done. But, still have the same issue.

Do you have a screenshot?

probiome commented 7 months ago

python3 -m pip install -e git+https://github.com/MichaelYochpaz/iSubRip.git#egg=isubrip

Okay, done. But, still have the same issue.

Do you have a screenshot?

Environment variable cmd isubrip

probiome commented 7 months ago

By the way, I have already downloaded "iSubRip.git" from https://github.com/MichaelYochpaz/iSubRip.git

vleaf0210 commented 7 months ago

Clear '\git.exe' from the text above and it will work. C:\Users\mehme\AppData\Local\GitHubDesktop\app-3.3.5\resources\app\git\cmd

vleaf0210 commented 7 months ago

Now try again to see if it works well.

vleaf0210 commented 7 months ago

스크린샷 2023-12-04 223951

probiome commented 7 months ago

Now try again to see if it works well.

It worked, but still can't download subtitles. :)

Git

probiome commented 7 months ago

When I try to download subtitles...

No Path

vleaf0210 commented 7 months ago

Add the following folder to 'PATH'. C:\Users\mehme\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts

probiome commented 7 months ago

스크린샷 2023-12-04 223951

Add the following folder to 'PATH'. C:\Users\mehme\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts

Solved! I copied isubrip.exe and pasted in C:\Users\mehme\AppData\Local\GitHubDesktop\app-3.3.5\resources\app\git\cmd

Fixed

Thanks for your help. 🥇 :)) :

vleaf0210 commented 7 months ago

Okay.