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

Getting episodes no longer works. #505

Open
Erotemic opened this issue Feb 22, 2024 · 1 comment
Open

Getting episodes no longer works. #505

Erotemic opened this issue Feb 22, 2024 · 1 comment

Comments

@Erotemic
Copy link

Issue description

It looks like there has been a change that prevents getting epsidoe information from working. A few weeks ago it was working, but now the same calls result in 0 discovered episodes.

Version of Cinemagoer, Python and OS

In [8]: imdb.__version__
Out[8]: '2023.05.01'
In [12]: sys.version_info
Out[12]: sys.version_info(major=3, minor=11, micro=2, releaselevel='final', serial=0)

Steps to reproduce the issue

if possible, provide a minimal code to reproduce the problem

    from imdb import Cinemagoer
    imdb_id = '0131664'
    ia = Cinemagoer()
    print('Submit IMDB query')
    imdb_item = ia.get_movie(imdb_id, info=['main', 'episodes'])
    print(imdb_item.get('number of episodes'))  # prints 0
    print(imdb_item.get('episodes'))  # prints None

I don't have the expected result, but I know this query was working in December 2023. I think the external episode information layout has changed. I did attempt to look into it a fix, but it looks like it isn't a simple thing.

@topongo
Copy link

topongo commented Mar 11, 2024

#503 should fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants