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

Movie akas only partial list returned. #458

Open
ale86ch opened this issue May 9, 2023 · 2 comments
Open

Movie akas only partial list returned. #458

ale86ch opened this issue May 9, 2023 · 2 comments

Comments

@ale86ch
Copy link

ale86ch commented May 9, 2023

Issue description

When using "akas" of a movie only a part of the actually akas on imdb is retrieved.

Version of Cinemagoer, Python and OS

  • Cinemagoer: '2023.05.01'
  • Python: 3.7.16
  • OS: Windows 10

Steps to reproduce the issue

m = ia.get_movie('8695030')
print(m['akas'])

What's the expected result?

List of akas on IMDb:
https://www.imdb.com/title/tt8695030/releaseinfo/?ref_=tt_dt_aka#akas

What's the actual result?

['Los muertos no mueren (Spain)', 'Os Mortos Não Morrem (Brazil)', 'Мртви не умиру (Serbia)', '死無可死 (Hong Kong, Mandarin title)', 'Kẻ Chết Không Chết (Vietnam)']

Additional details

Is it possible to select "akas" for a specific language in case is not possible to return the full list?

@ale86ch
Copy link
Author

ale86ch commented May 9, 2023

@alberanid
Ciao Davide, leggendo il codice ho capito il motivo per cui vengono ritornati solo una parte degli "also known as". Nella reference page che viene usata per fare il parsing c'è un'anteprima della lista, quando si clicca su mostra altri porta ad un'altra pagina.
Sai se hai in programma di implementare un "fix" che faccia il parse della lista completa degli akas?
Grazie mille

@alberanid
Copy link
Collaborator

Hi @ale86ch , unfortunately I think we will never support the complete list of AKAs and, in general, of any resource that is only partially shown in the new design of the IMDb's web pages.

We just parse the HTML; to access the complete list, you would need to issue one or more async queries, and it would be quite difficult to emulate that for us.

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