Update director_genre.py

try and except statements since some movies might not have results.