You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to find all the movies in a person's filmography.
When trying to sort out all of the tv episodes, I found I cannot trust the 'kind' key.
movies = person_info.get('filmography').get('actor)
[print(m.get('kind')) for m in movies]
The kind is always "movie" even when it shouldn't be.
This does not happen when calling get_movie() directly, which means I have to make another api call for every movie to check if it is a movie.
Version of Cinemagoer, Python and OS
Python 3.7.9
Using Jupyter Notebook
Windows 10
Steps to reproduce the issue
movies = person_info.get('filmography').get('actor)
[print(m.get('kind')) for m in movies]
What's the expected result?
if m is a tv show, it should print out "tv series"
What's the actual result?
m prints out "movie"
Additional details
The text was updated successfully, but these errors were encountered:
ErezHajaj
changed the title
Person Filmography Movies are always of kind'Movie"
Person Filmography Movies are always of kind "Movie"
Jan 12, 2024
ErezHajaj
changed the title
Person Filmography Movies are always of kind "Movie"
Person Filmography are always of kind "Movie"
Jan 12, 2024
Issue description
Attempting to find all the movies in a person's filmography.
When trying to sort out all of the tv episodes, I found I cannot trust the 'kind' key.
The kind is always "movie" even when it shouldn't be.
This does not happen when calling get_movie() directly, which means I have to make another api call for every movie to check if it is a movie.
Version of Cinemagoer, Python and OS
Python 3.7.9
Using Jupyter Notebook
Windows 10
Steps to reproduce the issue
What's the expected result?
m
is a tv show, it should print out "tv series"What's the actual result?
m
prints out "movie"Additional details
The text was updated successfully, but these errors were encountered: