Use 'ep_date' only if not None; Remove double slashed from xpath queries; simplify some url checks.