Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMDbDataAccessError #21

Open
TMD20 opened this issue Dec 21, 2022 · 4 comments
Open

IMDbDataAccessError #21

TMD20 opened this issue Dec 21, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@TMD20
Copy link
Owner

TMD20 commented Dec 21, 2022

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
Copy link
Owner Author

TMD20 commented Dec 21, 2022

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
Copy link

werrpy commented Dec 26, 2022

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

@TMD20
Copy link
Owner Author

TMD20 commented Dec 27, 2022

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 TMD20 added the bug Something isn't working label Dec 29, 2022
@TMD20
Copy link
Owner Author

TMD20 commented Dec 30, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants