cinemagoer / cinemagoer

Cinemagoer is a Python package useful to retrieve and manage the data of the IMDb (to which we are not affiliated in any way) movie database about movies, people, characters and companies
https://cinemagoer.github.io/
GNU General Public License v2.0
1.22k stars 352 forks source link

Movie akas only partial list returned. #458

Open ale86ch opened 1 year ago

ale86ch commented 1 year ago

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

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 commented 1 year ago

@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 commented 1 year ago

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.