anshulrgoyal / imdb-scrapper

This is small project it provide many good api for search ,scrapping ,trending
39 stars 32 forks source link

added id to cast member object array that getcast returns #29

Closed nordsk0g closed 4 years ago

nordsk0g commented 4 years ago

I added an ID property to the objects that are returned when using the getCast function.

anshulrgoyal commented 4 years ago

@nordsk0g if the show or movies doesn't contain well known actors the this could fail since the cast id wouldn't be available i would suggest checking the id if exist.

nordsk0g commented 4 years ago

@anshulrgoyal Let me know what you think about the change now. I think even unknown actors have profiles generated for them now so it's not as much of a concern as it was previously.