MichaelYochpaz / iSubRip

A Python command-line tool for scraping and downloading subtitles from AppleTV and iTunes movie pages.
MIT License
119 stars 15 forks source link

[Issue]: Redirect URL not found? #52

Closed lolipopsz closed 10 months ago

lolipopsz commented 1 year ago

Confirmations

OS Type

Windows

Python Version

3.11.5

Package Version

2.4.3

Description

this url https://itunes.apple.com/sg/movie/top-gun-maverick/id1622175422 produces error this error. but this one works fine https://tv.apple.com/sg/movie/top-gun-maverick/umc.cmc.670544bajp6s4pysx4rvctczz

Output Log

isubrip https://itunes.apple.com/sg/movie/top-gun-maverick/id1622175422
Scraping https://itunes.apple.com/sg/movie/top-gun-maverick/id1622175422
Error: Apple TV redirect URL not found.

Config

No response

MichaelYochpaz commented 1 year ago

Hey @lolipopsz, this issue doesn't seem to reproduce for me (subtitles are downloaded successfully using the iTunes link you provided). Could you retry and see if you still experience this issue? It might be some connectivity issue on your side / Apple's side when you ran it.

PatrBal commented 1 year ago

Same issue here.

MichaelYochpaz commented 1 year ago

Same issue here.

@PatrBal For what URL?

PatrBal commented 1 year ago

@MichaelYochpaz

$ isubrip https://itunes.apple.com/us/movie/the-machine/id1689512351
Scraping https://itunes.apple.com/us/movie/the-machine/id1689512351
Error: Apple TV redirect URL not found.

but

$ isubrip https://tv.apple.com/us/movie/the-machine/umc.cmc.2zfbbxfj7fnnsqp0tqdriurga
Scraping https://tv.apple.com/us/movie/the-machine/umc.cmc.2zfbbxfj7fnnsqp0tqdriurga
Found movie: The Machine (2023)

works and all the subtitles are downloaded.

MichaelYochpaz commented 1 year ago

@PatrBal Interesting... It doesn't reproduce for me either. Using this iTunes URL works fine for me as well. Does entering https://itunes.apple.com/us/movie/the-machine/id1689512351 from the browser successfully redirects you to the AppleTV URL?

PatrBal commented 1 year ago

@MichaelYochpaz Does entering https://itunes.apple.com/us/movie/the-machine/id1689512351 from the browser successfully redirects you to the AppleTV URL? Yes, it does.

PatrBal commented 1 year ago

I am on macOS. It could be the origin of the problem. Indeed, clicking on a link to https://itunes.apple.com/us/movie/the-machine/id1689512351 in the browser, actually open the "TV"app.

MichaelYochpaz commented 11 months ago

@lolipopsz @PatrBal I've added logs on the new release (v2.5.0) that should help debug such issues. If the issue persists, could you please send me a log file of such case so that I can further investigate this issue?

You can find information about where to find logs here.

MichaelYochpaz commented 10 months ago

Closing due to no response. Feel free to comment here (preferably with logs) if the issue reproduces, and I'll re-open it.