We've added a sanity check when extracting metadata from the DOM via XPath. By validating that the split operation on the resolved string does not return undefined, we prevent potential runtime errors during the scrobbling process. This improvement increases the robustness of our scraping logic.