pub fn validate_output_dir( file_path: impl AsRef<Path>, ) -> Result<(), SpiderError>
Validates that the parent directory of a given file path exists, creating it if necessary.