def _cleanName(n):
 if (not n):
  return u''
 n = n.replace('Filmography by type for', '')
 return n

def _cleanName ( n ) : if ( not n ) : return u'' n = n . replace ( 'Filmography by type for' , '' ) return n
clean the name in a title tag .