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
Hi,
I just started using this great code set, and for movie information it works great.
I seem to be struggling with the actor information. This is what I have tried:
people = ia.search_person('angelina')
print(people[0])
print (people[0].personID)
person = ia.get_person(people[0].personID)
print(person.infoset2keys)
#print(person['bdate'])
#print(person['birth date'])
print('Bio')
print(person.get('mini biography',''))
print('Birth date')
print(person.get('birth date',''))
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I just started using this great code set, and for movie information it works great.
I seem to be struggling with the actor information. This is what I have tried:
people = ia.search_person('angelina')
print(people[0])
print (people[0].personID)
person = ia.get_person(people[0].personID)
print(person.infoset2keys)
#print(person['bdate'])
#print(person['birth date'])
print('Bio')
print(person.get('mini biography',''))
print('Birth date')
print(person.get('birth date',''))
and this is what I get:
Angelina Jolie
0001401
{'main': ['headshot', 'imdbID', 'name'], 'filmography': ['filmography'], 'biography': []}
Bio
Birth date
Beta Was this translation helpful? Give feedback.
All reactions