code: def _platform(self) -> Optional[str]:
          
          try:
              return str(self.journey.MainStop.BasicStop.Dep.Platform.text)
          except AttributeError:
              return None
docs: Extract platform.