TMD20 / PT-Muxer

Remuxing script for private trackers
48 stars 4 forks source link

IMDbDataAccessError #21

Open TMD20 opened 1 year ago

TMD20 commented 1 year ago
raise IMDbDataAccessError(

imdb._exceptions.IMDbDataAccessError: {'errcode': None, 'errmsg': 'None', 'url': 'https://www.imdb.com/find?q=The+Christmas+Candle&s=tt', 'proxy': '', 'exception type': 'IOError', 'original exception': <HTTPError 308: 'Permanent Redirect'>}

{'errcode': None, 'errmsg': 'None', 'url': 'https://www.imdb.com/find?q=The+Christmas+Candle&s=tt', 'proxy': '', 'exception type': 'IOError', 'original exception': <HTTPError 308: 'Permanent Redirect'>}

TMD20 commented 1 year ago

This error occurs with the most recent version of Cinemagoer strangely, it does not occur if imdb information is entered manually

I've pushed some code to allow for manually enter imdb id in cases when search fails to retrive proper results.

werrpy commented 1 year ago

Could use just tmdb id. Use TheMovieDB to look up an IMDb id given tmdb id.

TMD20 commented 1 year ago

I was worried about the chance of a movie not being in the tmdb database, but being in imdb. That might not be a common occurrence though, I've only notice one movie so far from my testing with that issue.

I think in those cases the user would just have to enter the imdb id directly.

This would solve other issues I notice though with trying to use Cinemagoer for search/matching

TMD20 commented 1 year ago

I'm planning on using tmdb as suggested by @werrpy The current implementation is in the moviedata branch

The file movieData were most of the changes for this would be. It is kind of a mess, so I will have to take some time to evaluate things, and revamp the docstrings.

Before merging