The peculiarities of local structure of YbNi2 and YbCo2 intermetallics synthesized at high pressure.