code to extract season and episode no also implemented